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
|
#!/bin/sh
|
||||||
yes yes | python manage.py migrate \
|
set -euxo pipefail
|
||||||
&& python manage.py collectstatic --noinput --clear \
|
yes yes | python manage.py migrate
|
||||||
&& gunicorn blog.wsgi -b 0.0.0.0:8000 --log-file -
|
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