Commit 6cc2309d authored by Michael Lundquist's avatar Michael Lundquist

Changing the .gitlab-ci's admin user.

parent 7d9cdc82
Pipeline #4849 passed with stage
in 1 minute and 7 seconds
......@@ -28,9 +28,10 @@ before_script:
- python manage.py makemigrations
- python manage.py makemigrations api
- python manage.py migrate
- echo "from django.contrib.auth import get_user_model; User =
get_user_model(); User.objects.create_superuser('root',
'root@srct.gmu.edu', 'root') " | python manage.py shell
# - echo "from django.contrib.auth import get_user_model; User =
# get_user_model(); User.objects.create_superuser('root',
# 'root@srct.gmu.edu', 'root') " | python manage.py shell
- echo "from django.contrib.auth.models import User; User.objects.filter(username='$WOPEN_SUPERUSER$WOPEN_EMAIL_DOMAIN').delete(); User.objects.create_superuser('$WOPEN_SUPERUSER$WOPEN_EMAIL_DOMAIN', '$WOPEN_SUPERUSER', 'admin')" | python manage.py shell
- python3 manage.py loaddata --format json categoriesFixture locationFixture openTimeFixture scheduleFixture settingsFixture
whats-open-py3.7:
image: library/python:3.7
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment