diff --git a/Makefile.in b/Makefile.in index f01f021872544278676bc4f235b8e4dcdc9ee142..ccbad3fe078e4f362f003d82602e60f62ae9fb37 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..1aaebc4ba3f4ea61ab37989541b04bb4267bdea2 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +km3pipe +flask +gunicorn