diff --git a/app.json b/app.json index 74ffe09f..c6b0d713 100644 --- a/app.json +++ b/app.json @@ -28,10 +28,6 @@ "DISABLE_DATABASE_ENVIRONMENT_CHECK": { "required": true, "value": "1" - }, - "BUILDPACK_RUN": { - "required": true, - "value": "bundle exec rails db:schema:load data:all" } }, "formation": {}, diff --git a/buildpack-run.sh b/buildpack-run.sh new file mode 100755 index 00000000..da658c8d --- /dev/null +++ b/buildpack-run.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# For Heroku deployment in production + +echo "BUILDPACK RUN" + +bundle exec rails db:schema:load data:all