Updated README.md
This commit is contained in:
parent
7a027380f2
commit
a62c051bed
@ -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
|
||||||
`
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user