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

6 lines
205 B
Bash
Raw Normal View History

2020-08-17 08:23:00 +02:00
#!/bin/sh
yes yes | python manage.py migrate && \
#yes yes | pipenv run python manage.py createcachetable && \
python manage.py collectstatic --noinput && \
gunicorn blog.wsgi -b 0.0.0.0:8000 --log-file -