# Jumpup-heroku Rake tasks to deploy any Rails application on [Heroku](http://heroku.com) using [Jumpup](https://github.com/Helabs/jumpup). ## Instalation Add to your gem file. ```ruby gem 'jumpup-heroku', github: 'Helabs/jumpup-heroku' ``` Without groups on Gemfile, because of initializer. ## Usage 1. Create the initializer on `config/initializers/jumpup-heroku.rb` ```ruby # config/initializers/jumpup-heroku.rb Jumpup::Heroku.configure do |config| config.app = 'myapp' end ``` If you use [Heroku Accounts](https://github.com/ddollar/heroku-accounts) ```ruby # config/initializers/jumpup-heroku.rb Jumpup::Heroku.configure do |config| config.account(:name_of_account1) do |account1| account1.app = 'myapp1' end config.account(:name_of_account2) do |account2| account2.app = 'myapp2' account2.run_database_tasks = false # Default: true end end ``` Have production and staging app? Do like this: ```ruby Jumpup::Heroku.configure do |config| config.staging_app = 'myapp-staging' config.production_app = 'myapp' end ``` If you need to disable remote database tasks (backup, migrate and seed): ```ruby Jumpup::Heroku.configure do |config| config.app = 'myapp' config.run_database_tasks = false # Default: true end ``` 2. Add to the tasks on jumpup.rake the tasks to deploy on Heroku: ```ruby # lib/tasks/jumpup.rake INTEGRATION_TASKS = %w( jumpup:heroku:start jumpup:start jumpup:bundle_install db:migrate spec jumpup:coverage_verify jumpup:finish jumpup:heroku:finish ) ``` ## Versioning Jumpup-heroku follow the [Semantic Versioning](http://semver.org/). ## Issues If you have problems, please create a [Github Issue](https://github.com/Helabs/jumpup-heroku/issues). ## Contributing Please see [CONTRIBUTING.md](https://github.com/Helabs/jumpup-heroku/blob/master/CONTRIBUTING.md) for details. ## Credits Jumpup-heroku is maintained and funded by [HE:labs](http://helabs.com.br/opensource/). Thank you to all the [contributors](https://github.com/Helabs/jumpup-heroku/graphs/contributors). ## License Jumpup-heroku is Copyright © 2013-2014 HE:labs. It is free software, and may be redistributed under the terms specified in the LICENSE file.