manuels-scolaires/bash/run-prod.sh

5 lines
191 B
Bash
Raw Normal View History

2018-05-25 14:46:27 +02:00
#!/bin/sh
yes yes | pipenv run python manage.py migrate && \
pipenv run python manage.py collectstatic --noinput && \
pipenv run gunicorn manuels_collection.wsgi -b 0.0.0.0:8000 --log-file -