Tweak Heroku documentation

This commit is contained in:
Christopher C. Wells 2022-02-21 08:27:43 -08:00 committed by Christopher Charbonneau Wells
parent fb15e31064
commit 107c0870bb
2 changed files with 5 additions and 5 deletions

View File

@ -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"

View File

@ -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=<CHANGE TO SOMETHING RANDOM>
heroku config:set DISABLE_COLLECTSTATIC=1
heroku config:set TIME_ZONE=<DESIRED DEFAULT TIMEZONE>
See [Configuration](/docs/setup/configuration.md) for other settings that can be controlled