make prod pa_job_manager have FLASK_ENV of production and use localhost for job mgr host

This commit is contained in:
2021-06-27 14:37:53 +10:00
parent 76d278c37a
commit 126b17aa33
4 changed files with 3 additions and 4 deletions

2
README
View File

@@ -57,7 +57,7 @@ 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
FLASK_ENV="development" python3 pa_job_manager.py
To rebuild DB from scratch/empty data: