From 777b59a29eacd45f70002c270fd342eb719dadb5 Mon Sep 17 00:00:00 2001 From: Marek Isalski Date: Sat, 16 Jun 2018 16:31:20 +0200 Subject: [PATCH] add information about running with gunicorn --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index e932855..06a03c1 100644 --- a/README.md +++ b/README.md @@ -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 ```