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