Update Heroku deployment configuration.

This commit is contained in:
Christopher Charbonneau Wells 2018-11-05 18:38:38 -08:00
parent c31000d96e
commit 1570976c9f
4 changed files with 15 additions and 11 deletions

View File

@ -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`.

View File

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

13
package-lock.json generated
View File

@ -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
}
}
},

View File

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