Updated README.md

This commit is contained in:
Fred Warren 2019-04-15 16:17:27 -07:00
parent 7a027380f2
commit a62c051bed

View File

@ -22,19 +22,19 @@ shutil.copy2(out_file, '/var/www/')
# Bulid Instructions
assumes installed to `~/python/solar_edge`
`
```
cd ~/python
git clone http://git.elder-geek.net/fredw/solar_edge.git
cd solar_edge
cp env.sample .env
direnv allow
pip install -r requirements.txt
`
```
edit `.env` and update accordingly
add to user crontab to update site every 5 minutes
`
```
05 * * * * cd ~/python/solar_edge && direnv exec . python solar_edge.py > /dev/null 2>&1
`
```