diff --git a/app.json b/app.json index afe46da3..7bcc51e9 100644 --- a/app.json +++ b/app.json @@ -19,14 +19,14 @@ } ], "env": { - "DJANGO_SETTINGS_MODULE": { - "description": "A prebuilt configuration for Heroku.", - "value": "babybuddy.settings.heroku" - }, "DISABLE_COLLECTSTATIC": { "description": "Prevent static asset collection.", "generator": "secret" }, + "DJANGO_SETTINGS_MODULE": { + "description": "A prebuilt configuration for Heroku.", + "value": "babybuddy.settings.heroku" + }, "SECRET_KEY": { "description": "Used for the auth system.", "generator": "secret" diff --git a/docs/setup/deployment.md b/docs/setup/deployment.md index 19a9cf44..b561f794 100644 --- a/docs/setup/deployment.md +++ b/docs/setup/deployment.md @@ -49,9 +49,9 @@ python3 /app/babybuddy/manage.py clearsessions For manual deployments to Heroku without using the "deploy" button, make sure to create the following settings before pushing: + heroku config:set DISABLE_COLLECTSTATIC=1 heroku config:set DJANGO_SETTINGS_MODULE=babybuddy.settings.heroku heroku config:set SECRET_KEY= - heroku config:set DISABLE_COLLECTSTATIC=1 heroku config:set TIME_ZONE= See [Configuration](/docs/setup/configuration.md) for other settings that can be controlled