diff --git a/README.md b/README.md index f55ae28e..9e1418ce 100644 --- a/README.md +++ b/README.md @@ -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= + heroku config:set DISABLE_COLLECTSTATIC=1 See [Configuration](#configuration) for other settings that can be controlled by `heroku config:set`. diff --git a/app.json b/app.json index 877b2217..e52f443a 100644 --- a/app.json +++ b/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" diff --git a/package-lock.json b/package-lock.json index d1d17e44..9e9e2457 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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 } } }, diff --git a/package.json b/package.json index 56d776d4..a0513d6f 100644 --- a/package.json +++ b/package.json @@ -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" } }