Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 39 lines (25 sloc) 1.337 kb
7a6768e @bmizerany Ready to go
authored
1 # Here is a sample/template sinatra application ready for deployment to [Heroku](http://heroku.com).
2
3 **NOTE** This is for heroku.com and not herokugarden.com
4
5 You'll first need a [Heroku account](http://heroku.com/signup). Once you have an account, install
6 the gem `sudo gem install heroku`. If you do not have an SSH key
7 you'll need to [generate
8 one](http://heroku.com/docs/index.html#_setting_up_ssh_public_keys)
9 and [tell Heroku about
10 it](http://heroku.com/docs/index.html#_manage_keys_on_heroku)
11
12 Now, clone and deploy!
13
14 `my_new_app $ git clone git://github.com/sinatra/heroku-sinatra-app`
15
16 `my_new_app $ heroku create <optional appname>`
17
18 `my_new_app $ git remote add heroku git@heroku.com:<appname>.git`
19
20 `my_new_app $ git push heroku master`
21
22 Now you may view your site at `http://<appname>.heroku.com`
23
24 **NOTES**
25
26 The small amount of code is heavily commented. If you have questions
27 or comments please use [the channels provided](http://www.sinatrarb.com/contributing.html) by the Sinatra community as
28 we at Heroku are heavily involed in the Sinatra and can help you there
29 or on our mailing list (http://groups.google.com/group/heroku) if you
30 have non Sinatra questions.
31
32 See [these guidlines](http://www.sinatrarb.com/contributing.html) for
33 contributing or bugs.
34
35 Happy Development and Deploying!
36
37 Sincerely,
38 The Heroku Team
Something went wrong with that request. Please try again.