README.markdown in heroku_deploy-0.1.6 vs README.markdown in heroku_deploy-0.1.8
- old
+ new
@@ -8,10 +8,14 @@
sudo gem install heroku_deploy
In environment.rb
config.gem "heroku_deploy"
+or in your Gemfile
+ gem "heroku_deploy"
+ gem "heroku"
+
In your Rakefile:
begin
require 'heroku_deploy'
HerokuDeploy::Tasks.new(
:staging_app => "example-app-staging",
@@ -19,11 +23,12 @@
rescue LoadError
puts "heroku_deploy (or a dependency) not available. Install it with: gem install heroku_deploy"
end
###Setup and Deploy
-heroku_deploy assumes that origin/master is your main development branch. Once you have that in place, run:
+heroku_deploy assumes that origin/master is your main development branch. It also assumes your heroku credentials are saved in ~/.heroku/credentials
+Once you have that in place, run:
rake heroku_deploy:setup
This creates two additional branches: staging and production. These branches hold your deploys.
It also creates the two heroku apps specified in your Rakefile.
@@ -50,6 +55,9 @@
To skip the backup when deploying to staging or production run:
rake heroku_deploy:staging backup=false
###Coming Soon
+* Prompts for credentials if you haven't entered them
+* No need to include gem "heroku" in your Gemfile
+* Better error messages if you're trying to create an existing heroku app
* Before and after hooks that allow you to arbitrarily execute code before and after deploy