added instructions on how to run all this
This commit is contained in:
9
README
9
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
|
||||
|
||||
Reference in New Issue
Block a user