workout/bash/run-prod.sh

2 lines
175 B
Bash
Raw Normal View History

2018-03-04 10:15:42 +01:00
#!/bin/sh
2018-03-04 10:56:35 +01: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 -