6 lines
179 B
Bash
Executable file
6 lines
179 B
Bash
Executable file
#!/bin/bash
|
|
set -eux
|
|
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 -
|