workout/bash/run-prod.sh

4 lines
179 B
Bash
Raw Normal View History

2018-03-04 10:15:42 +01:00
#!/bin/sh
2018-04-02 13:19:47 +02:00
yes yes | pipenv run python manage.py migrate && \
pipenv run python manage.py collectstatic --noinput && \
pipenv run gunicorn workout.wsgi -b 0.0.0.0:8000 --log-file -