зеркало из https://github.com/mozilla/kitsune.git
Add web process.
This commit is contained in:
Родитель
2ec8f12254
Коммит
30561615e3
|
@ -0,0 +1 @@
|
|||
web: ./bin/run-prod.sh
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
READ_ONLY=$(echo "${READ_ONLY:-false}" | tr '[:upper:]' '[:lower:]')
|
||||
|
||||
if [[ "$READ_ONLY" == "false" ]]; then
|
||||
python manage.py migrate --noinput
|
||||
fi
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
./bin/run-common.sh
|
||||
|
||||
echo "$GIT_SHA" > static/revision.txt
|
||||
|
||||
exec gunicorn kitsune.wsgi.app --config wsgi/config.py
|
Загрузка…
Ссылка в новой задаче