diff --git a/README.md b/README.md index f4b09d1f..9512f0c0 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,6 @@ cd babybuddy pip install pipenv pipenv install --dev pipenv shell -export DJANGO_SETTINGS_MODULE=babybuddy.settings.development python manage.py migrate python manage.py createsuperuser npm install diff --git a/babybuddy/wsgi.py b/babybuddy/wsgi.py index f0ac98d5..87f76c32 100644 --- a/babybuddy/wsgi.py +++ b/babybuddy/wsgi.py @@ -2,6 +2,7 @@ import os from django.core.wsgi import get_wsgi_application -os.environ.setdefault("DJANGO_SETTINGS_MODULE", "babybuddy.settings") +os.environ.setdefault( + "DJANGO_SETTINGS_MODULE", "babybuddy.settings.production") application = get_wsgi_application() diff --git a/manage.py b/manage.py index 48ff48d9..4c4a55c1 100755 --- a/manage.py +++ b/manage.py @@ -3,7 +3,8 @@ import os import sys if __name__ == "__main__": - os.environ.setdefault("DJANGO_SETTINGS_MODULE", "babybuddy.settings") + os.environ.setdefault( + "DJANGO_SETTINGS_MODULE", "babybuddy.settings.development") try: from django.core.management import execute_from_command_line except ImportError: