add information about running with gunicorn

master
Marek Isalski 7 years ago
parent 179002bb26
commit 777b59a29e

@ -41,5 +41,10 @@ INCIDENT_URL_SCHEME = STATUS_PAGE_URL + "event/%s/"
export FIH_SETTINGS=~/incident_handler/settings.cfg export FIH_SETTINGS=~/incident_handler/settings.cfg
export FLASK_APP=fih.py export FLASK_APP=fih.py
cd ~/incident_handler cd ~/incident_handler
# for development
flask run -p 3333 flask run -p 3333
# for production
gunicorn -w 4 -b 127.0.0.1:3333 fih:app
``` ```

Loading…
Cancel
Save