Updated README.md

This commit is contained in:
Fred Warren 2019-04-15 15:19:29 -07:00
parent 651a4db540
commit 74a9d8cc54

View File

@ -2,10 +2,13 @@
When placed in a cron job this uppdater will make an https call to a json api to retrieve the co2 savings and equivenant trees planted and overlay those numbers on a graphic and upload them to the website. When placed in a cron job this uppdater will make an https call to a json api to retrieve the co2 savings and equivenant trees planted and overlay those numbers on a graphic and upload them to the website.
# Dependancies # Dependancies
Python 3 and the packages `python-dotenv` and `Pillow` Python 3 and contents of `requirements.txt`
The font `Biko_Regular.otf` The font `Biko_Regular.otf`
A `.png` graphic to write text on. A `.png` graphic to write text on.
# Bulid Instructions # Bulid Instructions
`pip install -r requirements.txt`
crontab
`05 * * * * cd ~/.venv/solar_edge && direnv exec . python solar_edge.py > /dev/null 2>&1`