mirror of https://github.com/snachodog/mybuddy.git
Update Heroku deployment configuration.
This commit is contained in:
parent
c31000d96e
commit
1570976c9f
|
@ -113,10 +113,11 @@ for detailed information about how to deployment methods with Docker.
|
|||
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
|
||||
|
||||
For manual deployments to Heroku without using the deploy button, make sure to
|
||||
create two settings before pushing using `heroku config:set`:
|
||||
create the following settings before pushing:
|
||||
|
||||
heroku config:set DJANGO_SETTINGS_MODULE=babybuddy.settings.heroku
|
||||
heroku config:set SECRET_KEY=<CHANGE TO SOMETHING RANDOM>
|
||||
heroku config:set DISABLE_COLLECTSTATIC=1
|
||||
|
||||
See [Configuration](#configuration) for other settings that can be controlled
|
||||
by `heroku config:set`.
|
||||
|
|
7
app.json
7
app.json
|
@ -14,9 +14,6 @@
|
|||
"repository": "https://github.com/cdubz/babybuddy",
|
||||
"website": "http://www.baby-buddy.net",
|
||||
"buildpacks": [
|
||||
{
|
||||
"url": "heroku/nodejs"
|
||||
},
|
||||
{
|
||||
"url": "heroku/python"
|
||||
}
|
||||
|
@ -30,6 +27,10 @@
|
|||
"description": "Used for the auth system.",
|
||||
"generator": "secret"
|
||||
},
|
||||
"DISABLE_COLLECTSTATIC": {
|
||||
"description": "Prevent static asset collection.",
|
||||
"value": "1"
|
||||
},
|
||||
"TIME_ZONE": {
|
||||
"description": "Sets the instance time zone.",
|
||||
"value": "Etc/UTC"
|
||||
|
|
|
@ -2923,7 +2923,8 @@
|
|||
"ansi-regex": {
|
||||
"version": "2.1.1",
|
||||
"bundled": true,
|
||||
"dev": true
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"aproba": {
|
||||
"version": "1.2.0",
|
||||
|
@ -3338,7 +3339,8 @@
|
|||
"safe-buffer": {
|
||||
"version": "5.1.1",
|
||||
"bundled": true,
|
||||
"dev": true
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"safer-buffer": {
|
||||
"version": "2.1.2",
|
||||
|
@ -3394,6 +3396,7 @@
|
|||
"version": "3.0.1",
|
||||
"bundled": true,
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"ansi-regex": "^2.0.0"
|
||||
}
|
||||
|
@ -3437,12 +3440,14 @@
|
|||
"wrappy": {
|
||||
"version": "1.0.2",
|
||||
"bundled": true,
|
||||
"dev": true
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"yallist": {
|
||||
"version": "3.0.2",
|
||||
"bundled": true,
|
||||
"dev": true
|
||||
"dev": true,
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -26,8 +26,5 @@
|
|||
"pump": "^3.0.0",
|
||||
"tempusdominus-bootstrap-4": "^5.0.1",
|
||||
"tempusdominus-core": "^5.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"heroku-postbuild": "npm rebuild node-sass && gulp build"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue