mirror of https://github.com/snachodog/mybuddy.git
Use Heroku generator for DISABLE_COLLECTSTATIC
Heroku's attempts to run collectstatic automatically but Baby Buddy never wants that. Instead of offering a user-editable environment variable this change uses Heroku's secret generator to set the variable so the user cannot change it during deploy.
This commit is contained in:
parent
12ba4736e6
commit
cf21441576
14
app.json
14
app.json
|
@ -12,7 +12,7 @@
|
|||
"self-host"
|
||||
],
|
||||
"repository": "https://github.com/babybuddy/babybuddy",
|
||||
"website": "http://www.baby-buddy.net",
|
||||
"website": "https://docs.baby-buddy.net",
|
||||
"buildpacks": [
|
||||
{
|
||||
"url": "heroku/python"
|
||||
|
@ -23,17 +23,13 @@
|
|||
"description": "A prebuilt configuration for Heroku.",
|
||||
"value": "babybuddy.settings.heroku"
|
||||
},
|
||||
"DISABLE_COLLECTSTATIC": {
|
||||
"description": "Prevent static asset collection.",
|
||||
"generator": "secret"
|
||||
},
|
||||
"SECRET_KEY": {
|
||||
"description": "Used for the auth system.",
|
||||
"generator": "secret"
|
||||
},
|
||||
"DISABLE_COLLECTSTATIC": {
|
||||
"description": "Prevent static asset collection.",
|
||||
"value": "1"
|
||||
},
|
||||
"TIME_ZONE": {
|
||||
"description": "Sets the instance default time zone.",
|
||||
"value": "UTC"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in New Issue