Jumpup-heroku
Rake tasks to deploy on heroku.
Instalation
Add to your gem file.
gem 'jumpup-heroku', github: 'Helabs/jumpup-heroku'
Without groups on Gemfile, because of initializer.
Usage
- Create the initializer on
config/initializers/jumpup-heroku.rb
# config/initializers/jumpup-heroku.rb
Jumpup::Heroku.configure do |config|
config.app = 'myapp'
end
Have production and staging app? Do like this:
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):
Jumpup::Heroku.configure do |config|
config.app = 'myapp'
config.run_database_tasks = false # Default: true
end
- Add to the tasks on integration.rake the tasks to deploy on Heroku:
# integration.rake
INTEGRATION_TASKS = %w(
jumpup:heroku:add_remote
jumpup:heroku:check
jumpup:heroku:lock
integration:start
integration:bundle_install
db:migrate
spec
integration:coverage_verify
integration:finish
jumpup:heroku:deploy
jumpup:heroku:unlock
)
Versioning
Jumpup-heroku follow the Semantic Versioning.
Issues
If you have problems, please create a Github Issue.
Contributing
Please see CONTRIBUTING.md for details.
Credits
Jumpup-heroku is maintained and funded by HE:labs. Thank you to all the contributors.