Files
test_OgureNG/entrypoint.sh
2022-11-08 21:19:51 +01:00

12 lines
332 B
Bash

#!bin/sh
python manage.py makemigrations
python manage.py migrate
python manage.py collectstatic --no-input
DJANGO_SUPERUSER_PASSWORD=$SUPER_USER_PASSWORD python manage.py createsuperuser --id $SUPER_USER_ID--username $SUPER_USER_NAME --noinput
gunicorn ogure.wsgi:application --timeout 7200 --bind 0.0.0.0:8000 --name ogure