Skip to content

Commit

Permalink
Wrap code with GFM so that it is formatted properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Anders committed Jul 5, 2012
1 parent 3a24982 commit c4e62b3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/deploy_strategies.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ You can create your own strategies and then configure HerokuSan to use it instea

Amend your `Rakefile`:

```ruby
require 'heroku_san'

class MyStrategy < HerokuSan::Deploy::Base
Expand All @@ -36,11 +37,14 @@ Amend your `Rakefile`:
end

HerokuSan.project = HerokuSan::Project.new(Rails.root.join("config","heroku.yml"), :deploy => MyStrategy)
```


## Sinatra (and other Rack based apps)

Amend your `Rakefile`

```ruby
require 'heroku_san'

class MyStrategy < HerokuSan::Deploy::Base
Expand All @@ -54,3 +58,4 @@ Amend your `Rakefile`
HerokuSan.project = HerokuSan::Project.new(config_file, :deploy => MyStrategy)

load "heroku_san/tasks.rb"
```

0 comments on commit c4e62b3

Please sign in to comment.