We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9e61652 + b555c7c commit 8dd8f76Copy full SHA for 8dd8f76
start.sh
@@ -1,7 +1,7 @@
1
-#! /usr/bin/env sh
2
-set -e
3
-
4
-if [ $MODE = "development" ]; then
+#! /usr/bin/env bash
+set -eu
+if [ ${MODE:-""} == "development" ]; then
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
5
exec python web.py
6
else
7
exec gunicorn -k egg:meinheld#gunicorn_worker -c "$GUNICORN_CONF" "$APP_MODULE"
0 commit comments