This repository has been archived on 2023-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
python-blog/docker/run.sh

7 lines
179 B
Bash
Raw Normal View History

2020-12-26 18:05:16 +01:00
#!/bin/bash
set -eux
2020-12-26 17:40:25 +01:00
yes yes | python manage.py migrate
python manage.py collectstatic --noinput --clear
2021-01-05 17:59:58 +01:00
python manage.py compress
2020-12-26 17:40:25 +01:00
gunicorn blog.wsgi -b 0.0.0.0:8000 --log-file -