Update run.sh

This commit is contained in:
Gabriel Augendre 2021-01-09 18:40:17 +01:00
parent f2981d2d0f
commit 29bace4395

View file

@ -1,6 +1,6 @@
#!/bin/bash
set -eux
yes yes | python manage.py migrate
python manage.py migrate --noinput
python manage.py collectstatic --noinput --clear
python manage.py compress
gunicorn blog.wsgi -b 0.0.0.0:8000 --log-file -