From a9ad2dc4f734ba21e57c8ba761b84cfaa4bd2f64 Mon Sep 17 00:00:00 2001 From: Brice Sanchez Date: Mon, 6 Jun 2016 10:36:05 -0400 Subject: [PATCH] Add Heroku deploy button and config --- app.json | 18 ++++++++++++++++++ readme.md | 4 ++++ 2 files changed, 22 insertions(+) create mode 100644 app.json diff --git a/app.json b/app.json new file mode 100644 index 0000000000..3ed7247637 --- /dev/null +++ b/app.json @@ -0,0 +1,18 @@ +{ + "name": "Refinery CMS Demo", + "description": "A demonstration website using Refinery CMS with some test data.", + "repository": "https://github.com/refinery/demo", + "logo": "http://www.refinerycms.com/images/refinery-cms-logo.png", + "website": "http://www.refinerycms.com/", + "keywords": [ + "refinerycms", + "demo" + ], + "success_url": "/refinery", + "addons": [ + "heroku-postgresql:hobby-dev" + ], + "scripts": { + "postdeploy": "bundle exec rake db:migrate && bundle exec rake db:seed" + } +} \ No newline at end of file diff --git a/readme.md b/readme.md index 0cb317ab5b..97ca15ab5e 100644 --- a/readme.md +++ b/readme.md @@ -10,6 +10,10 @@ You can chat with us using Gitter: [![Gitter chat](https://badges.gitter.im/refinery/refinerycms.svg)](https://gitter.im/refinery/refinerycms) +You can automatically deploy a demo on Heroku: + +[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) + ## Requirements * [Bundler](http://gembundler.com)