diff --git a/django_evaluation/settings/base.py b/django_evaluation/settings/base.py index 8713a8dd..57ecc7a9 100755 --- a/django_evaluation/settings/base.py +++ b/django_evaluation/settings/base.py @@ -217,7 +217,7 @@ def custom_show_toolbar(request): # The WSGI Application to use for runserver WSGI_APPLICATION = "django_evaluation.wsgi.application" -INTERNAL_IPS = "127.0.0.1" +INTERNAL_IPS = ["127.0.0.1"] SYSTEM_EMAIL_PREFIX = "[django_evaluation]" diff --git a/init_django.sh b/init_django.sh index 8c43ac40..d2dd4d31 100755 --- a/init_django.sh +++ b/init_django.sh @@ -1,11 +1,11 @@ #!/bin/bash -export PATH=/opt/condaenv:$PATH +export PATH=/opt/condaenv/bin:$PATH python manage.py makemigrations base python manage.py migrate --fake-initial --noinput python manage.py migrate --fake contenttypes -/python manage.py collectstatic --noinput +python manage.py collectstatic --noinput python manage.py createsuperuser \ --noinput \ --username freva-admin \