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 # Bulid Instructions
assumes installed to `~/python/solar_edge` assumes installed to `~/python/solar_edge`
` ```
cd ~/python cd ~/python
git clone http://git.elder-geek.net/fredw/solar_edge.git git clone http://git.elder-geek.net/fredw/solar_edge.git
cd solar_edge cd solar_edge
cp env.sample .env cp env.sample .env
direnv allow direnv allow
pip install -r requirements.txt pip install -r requirements.txt
` ```
edit `.env` and update accordingly edit `.env` and update accordingly
add to user crontab to update site every 5 minutes 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 05 * * * * cd ~/python/solar_edge && direnv exec . python solar_edge.py > /dev/null 2>&1
` ```