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.
1 parent c9f1cdd commit ece1b81Copy full SHA for ece1b81
start.sh
@@ -6,18 +6,16 @@ python manage.py makemigrations migrate
6
echo 'Collecting static files...'
7
python manage.py collectstatic --no-input
8
9
-echo "Starting server"
+echo "Starting qcluster"
10
+python manage.py qcluster &
11
12
+echo "Starting server"
13
if [ "$1" = "--debug" ]; then
- python manage.py runserver 0.0.0.0:8800 &
14
+ python manage.py runserver 0.0.0.0:8800
15
else
16
gunicorn "$APP_NAME.wsgi:application" \
17
--bind "0.0.0.0:$GUNICORN_PORT" \
18
--workers "$GUNICORN_WORKERS" \
19
--timeout "$GUNICORN_TIMEOUT" \
- --log-level "$GUNICORN_LOG_LEVEL" &
-fi
20
-
21
22
-echo "Starting qcluster"
23
-python manage.py qcluster &
+ --log-level "$GUNICORN_LOG_LEVEL"
+fi
0 commit comments