mirror of https://github.com/snachodog/mybuddy.git
Tweak Heroku documentation
This commit is contained in:
parent
fb15e31064
commit
107c0870bb
8
app.json
8
app.json
|
@ -19,14 +19,14 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"env": {
|
"env": {
|
||||||
"DJANGO_SETTINGS_MODULE": {
|
|
||||||
"description": "A prebuilt configuration for Heroku.",
|
|
||||||
"value": "babybuddy.settings.heroku"
|
|
||||||
},
|
|
||||||
"DISABLE_COLLECTSTATIC": {
|
"DISABLE_COLLECTSTATIC": {
|
||||||
"description": "Prevent static asset collection.",
|
"description": "Prevent static asset collection.",
|
||||||
"generator": "secret"
|
"generator": "secret"
|
||||||
},
|
},
|
||||||
|
"DJANGO_SETTINGS_MODULE": {
|
||||||
|
"description": "A prebuilt configuration for Heroku.",
|
||||||
|
"value": "babybuddy.settings.heroku"
|
||||||
|
},
|
||||||
"SECRET_KEY": {
|
"SECRET_KEY": {
|
||||||
"description": "Used for the auth system.",
|
"description": "Used for the auth system.",
|
||||||
"generator": "secret"
|
"generator": "secret"
|
||||||
|
|
|
@ -49,9 +49,9 @@ python3 /app/babybuddy/manage.py clearsessions
|
||||||
For manual deployments to Heroku without using the "deploy" button, make sure to
|
For manual deployments to Heroku without using the "deploy" button, make sure to
|
||||||
create the following settings before pushing:
|
create the following settings before pushing:
|
||||||
|
|
||||||
|
heroku config:set DISABLE_COLLECTSTATIC=1
|
||||||
heroku config:set DJANGO_SETTINGS_MODULE=babybuddy.settings.heroku
|
heroku config:set DJANGO_SETTINGS_MODULE=babybuddy.settings.heroku
|
||||||
heroku config:set SECRET_KEY=<CHANGE TO SOMETHING RANDOM>
|
heroku config:set SECRET_KEY=<CHANGE TO SOMETHING RANDOM>
|
||||||
heroku config:set DISABLE_COLLECTSTATIC=1
|
|
||||||
heroku config:set TIME_ZONE=<DESIRED DEFAULT TIMEZONE>
|
heroku config:set TIME_ZONE=<DESIRED DEFAULT TIMEZONE>
|
||||||
|
|
||||||
See [Configuration](/docs/setup/configuration.md) for other settings that can be controlled
|
See [Configuration](/docs/setup/configuration.md) for other settings that can be controlled
|
||||||
|
|
Loading…
Reference in New Issue