Skip to content

Commit b555c7c

Browse files
authored
install requirements on startup in dev mode
1 parent bb0afbf commit b555c7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

start.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#! /usr/bin/env bash
22
set -eu
33
if [ ${MODE:-""} == "development" ]; then
4+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
45
exec python web.py
56
else
67
exec gunicorn -k egg:meinheld#gunicorn_worker -c "$GUNICORN_CONF" "$APP_MODULE"

0 commit comments

Comments
 (0)