Update run script

This commit is contained in:
Gabriel Augendre 2020-12-26 17:40:25 +01:00
parent d061acc6c2
commit 0051cc3fa5
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4

View file

@ -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 -