Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Commit

Permalink
Kumade is not a set of Rake tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Berke-Williams committed Sep 11, 2011
1 parent 7c147ae commit abb3609
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions README.md
@@ -1,5 +1,5 @@
# Kumade 熊手 [![Build Status](https://secure.travis-ci.org/thoughtbot/kumade.png)](http://travis-ci.org/thoughtbot/kumade)
Kumade is a set of basic Rake tasks for deploying to Heroku. It aims to
Kumade is a command-line program for deploying to Heroku. It aims to
provide most of what you want. Unlike other Heroku deploy gems, it is
well-tested.

Expand All @@ -13,7 +13,7 @@ Before deploying, Kumade ensures the git repo is clean.
After that, it packages assets using
[Jammit](http://documentcloud.github.com/jammit/) and/or
[More](https://github.com/cloudhead/more), commits them, and pushes to origin.
Then it force pushes to the correct remote and runs `rake db:migrate` on the
Then it force pushes to the correct Heroku remote and runs `rake db:migrate` on the
Heroku app.

If any step fails, it immediately prints an error and stops the deploy
Expand All @@ -33,18 +33,6 @@ For example, if you have a remote named "staging":

$ bundle exec kumade staging

or

# in your Rakefile:
require 'kumade'

# kumade auto-generates a deploy:ENV task for every Heroku environment
$ rake deploy:staging

which will autodetect the name of the Heroku app that the "staging" remote points
to and deploy to it. If you use rake tasks, you can't pass in options (like
"-p").

To run in pretend mode, which prints what would be done without actually doing
any of it:

Expand All @@ -55,10 +43,20 @@ The default is to deploy to staging:
# equivalent to "bundle exec kumade staging"
$ bundle exec kumade

## Rake

Kumade auto-generates a deploy:ENV task for every Heroku environment.

# in your Rakefile:
require 'kumade'

$ rake deploy:staging

If you use rake tasks, you can't pass in options (like -p/--pretend).

## Does it support the Cedar stack?

Yes. kumade will automatically detect if your app is running on Cedar.
Yes. Kumade will automatically detect if your app is running on Cedar.

## Compatibility

Expand All @@ -68,7 +66,7 @@ Tested against:
* MRI 1.9.2
* REE 1.8.7

## Misc Features
## Miscellaneous Features

Want to run a task before bundling your assets on deploy? In your Rails app's rake tasks, drop in:

Expand Down

0 comments on commit abb3609

Please sign in to comment.