Skip to content
Snippets Groups Projects
Commit d5e330b9 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Use gunicorn instead of flask

parent 247c3197
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,9 @@ endif
default: start
build:
pip install -Ur requirements.txt
start:
@echo Creating tmux session...
......@@ -35,7 +38,7 @@ start:
@echo Starting the web server on 0.0.0.0:${WEBSERVER_PORT}
@#
@tmux send-keys -t ${SESSION_NAME}:main.3 \
"FLASK_APP=km3mon.py flask run --host=0.0.0.0 --port=${WEBSERVER_PORT}" Enter
"gunicorn -w 4 -b 0.0.0.0:${WEBSERVER_PORT} km3mon:app" Enter
@tmux select-layout even-vertical
@echo Starting the monitoring scripts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment