init
This commit is contained in:
11
entrypoint.sh
Normal file
11
entrypoint.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user