From b0690b72ab68b125430151765c5386186fef2162 Mon Sep 17 00:00:00 2001 From: GarPit Date: Wed, 12 Apr 2017 17:31:11 +0300 Subject: [PATCH] add app.json for Heroku deploy --- app.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 app.json diff --git a/app.json b/app.json new file mode 100644 index 0000000..c72dac4 --- /dev/null +++ b/app.json @@ -0,0 +1,16 @@ +{ + "name": "KMS", + "description": "Simple and powerful Ruby on Rails CMS for developers", + "repository": "https://github.com/webgradus/kms", + "scripts": { + "postdeploy": "bundle exec rake db:migrate" + }, + "env": { + "RAILS_ENV": "production", + "RACK_ENV": "production", + "RAILS_SERVE_STATIC_FILES": "true" + }, + "image": "webgradus/kms", + "addons": ["heroku-postgresql"] + +}