added instructions on how to run all this

This commit is contained in:
2021-01-19 17:29:41 +11:00
parent 47085b7a43
commit 558b43870a

9
README
View File

@@ -13,6 +13,15 @@ pip packages:
* pytz
To run debug version of web server:
FLASK_APP=main FLASK_ENV=development flask run --host=192.168.0.2
to run prod version of web server:
gunicorn --bind="192.168.0.2:5000" --threads=2 --workers=2 main:app
Also have to run the job manager for jobs to work:
python3 pa_job_manager.py
To rebuild DB:
###BE CAREFUL this completely destroys the database contents and starts from