comixify/entrypoint.sh
2018-08-27 21:09:05 +02:00

17 lines
253 B
Bash

#!/bin/sh
start (){
gunicorn --bind :8008 settings.wsgi:application --timeout 300
}
migrate (){
python3.6 manage.py migrate --noinput
}
collectstatic (){
python3.6 manage.py collectstatic --clear --no-input
}
migrate
collectstatic
start