diff --git a/README b/README index 1658a76..c5517d1 100644 --- a/README +++ b/README @@ -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