README.md in jumpup-heroku-0.0.1 vs README.md in jumpup-heroku-0.0.2
- old
+ new
@@ -1,8 +1,8 @@
# Jumpup-heroku
-Rake tasks to deploy on 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.
@@ -21,10 +21,25 @@
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'
@@ -39,27 +54,24 @@
config.app = 'myapp'
config.run_database_tasks = false # Default: true
end
```
-2. Add to the tasks on integration.rake the tasks to deploy on Heroku:
+2. Add to the tasks on jumpup.rake the tasks to deploy on Heroku:
```ruby
- # integration.rake
+ # lib/tasks/jumpup.rake
INTEGRATION_TASKS = %w(
- jumpup:heroku:add_remote
- jumpup:heroku:check
- jumpup:heroku:lock
- integration:start
- integration:bundle_install
+ jumpup:heroku:start
+ jumpup:start
+ jumpup:bundle_install
db:migrate
spec
- integration:coverage_verify
- integration:finish
- jumpup:heroku:deploy
- jumpup:heroku:unlock
+ jumpup:coverage_verify
+ jumpup:finish
+ jumpup:heroku:finish
)
```
## Versioning
@@ -75,5 +87,9 @@
## 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.
\ No newline at end of file