File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ POSTGRES_PORT=5432
2020DJANGO_SUPERUSER_EMAIL = [email protected] 2121DJANGO_SUPERUSER_USERNAME = admin
2222DJANGO_SUPERUSER_PASSWORD = Password123
23+ DJANGO_SUPERUSER_GRADE = 12
24+ DJANGO_SUPERUSER_FIRST_NAME = ADMIN
25+ DJANGO_SUPERUSER_LAST_NAME = ADMIN
2326
2427# ================================DJANGO SETTINGS
2528DJANGO_DEBUG = 1
Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ RUN poetry config virtualenvs.create false && poetry install --no-dev && pip ins
2424COPY /docker/server/runtime.sh /runtime.sh
2525RUN chmod +x /runtime.sh
2626
27- # RUN figlet WAIS
28-
2927# ========================================
3028# ---- Executed at Container Runtime ----
3129# ========================================
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33echo " ████ ${APP_NAME^^} - DJANGO CONTAINER STARTING... ████████████████████████████████████"
4- figlet $APP_NAME
54
65# Debug / Sanity check info
76echo " Current Dir / Files (Debug)" | boxes -d shell -p a1l2
@@ -21,7 +20,7 @@ python manage.py migrate --noinput
2120
2221# Create Django Superuser
2322printf " \n" && echo " Creating Django Superuser" | boxes -d shell -p a1l2
24- python manage.py createsuperuser --noinput
23+ python manage.py createsuperuser --grade 11 -- noinput
2524
2625printf " \n" && echo " MIGRATION & SETUP TASK COMPLETED" | boxes -d dog -a c
2726
You can’t perform that action at this time.
0 commit comments