Update run script
This commit is contained in:
parent
d061acc6c2
commit
0051cc3fa5
1 changed files with 5 additions and 3 deletions
|
@ -1,4 +1,6 @@
|
|||
#!/bin/sh
|
||||
yes yes | python manage.py migrate \
|
||||
&& python manage.py collectstatic --noinput --clear \
|
||||
&& gunicorn blog.wsgi -b 0.0.0.0:8000 --log-file -
|
||||
set -euxo pipefail
|
||||
yes yes | python manage.py migrate
|
||||
python manage.py collectstatic --noinput --clear
|
||||
python manage.py assets build --manifest django
|
||||
gunicorn blog.wsgi -b 0.0.0.0:8000 --log-file -
|
||||
|
|
Reference in a new issue