add information about running with gunicorn

This commit is contained in:
Marek Isalski 2018-06-16 16:31:20 +02:00
parent 179002bb26
commit 777b59a29e

View File

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