Skip to content

Commit

Permalink
Update Heroku deployment configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdubz committed Nov 6, 2018
1 parent c31000d commit 1570976
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
7 changes: 4 additions & 3 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
"repository": "https://github.com/cdubz/babybuddy",
"website": "http://www.baby-buddy.net",
"buildpacks": [
{
"url": "heroku/nodejs"
},
{
"url": "heroku/python"
}
Expand All @@ -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"
Expand Down
13 changes: 9 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 1570976

Please sign in to comment.