Add some readmes about how to run a new server as well as how to schedule the pre-render script.
This commit is contained in:
parent
02c651ed36
commit
2d9c3f2c38
2 changed files with 33 additions and 0 deletions
13
seo-snapshots/README.md
Normal file
13
seo-snapshots/README.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
Follow the instructions to set up a host of the whole project before attempting to run.
|
||||
|
||||
to run once:
|
||||
|
||||
```
|
||||
python make_snapshot.py
|
||||
```
|
||||
|
||||
cron line to update every 30 minutes:
|
||||
|
||||
```
|
||||
0,30 * * * * cd /home/ubuntu/quay/seo-snapshots && ../venv/bin/python make_snapshot.py
|
||||
```
|
Reference in a new issue