Skip to content

Commit c1631a0

Browse files
committed
hotfix: fix .env file
1 parent 7f98e3e commit c1631a0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ POSTGRES_PORT=5432
2020
DJANGO_SUPERUSER_EMAIL=[email protected]
2121
DJANGO_SUPERUSER_USERNAME=admin
2222
DJANGO_SUPERUSER_PASSWORD=Password123
23+
DJANGO_SUPERUSER_GRADE=12
24+
DJANGO_SUPERUSER_FIRST_NAME=ADMIN
25+
DJANGO_SUPERUSER_LAST_NAME=ADMIN
2326

2427
#================================DJANGO SETTINGS
2528
DJANGO_DEBUG=1

docker/server/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ RUN poetry config virtualenvs.create false && poetry install --no-dev && pip ins
2424
COPY /docker/server/runtime.sh /runtime.sh
2525
RUN chmod +x /runtime.sh
2626

27-
# RUN figlet WAIS
28-
2927
# ========================================
3028
# ---- Executed at Container Runtime ----
3129
# ========================================

docker/server/runtime.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/bash
22

33
echo "████ ${APP_NAME^^} - DJANGO CONTAINER STARTING... ████████████████████████████████████"
4-
figlet $APP_NAME
54

65
# Debug / Sanity check info
76
echo "Current Dir / Files (Debug)" | boxes -d shell -p a1l2
@@ -21,7 +20,7 @@ python manage.py migrate --noinput
2120

2221
# Create Django Superuser
2322
printf "\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

2625
printf "\n" && echo "MIGRATION & SETUP TASK COMPLETED" | boxes -d dog -a c
2726

0 commit comments

Comments
 (0)