Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 39 lines (25 sloc) 1.315 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
75707a1 @bmizerany easier
authored
14 `projects $ git clone git://github.com/sinatra/heroku-sinatra-app`
7a6768e @bmizerany Ready to go
authored
15
75707a1 @bmizerany easier
authored
16 `projects $ cd heroku-sinatra-app`
7a6768e @bmizerany Ready to go
authored
17
75707a1 @bmizerany easier
authored
18 `my_new_app $ heroku create <optional appname> --remote`
7a6768e @bmizerany Ready to go
authored
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
17241de @bmizerany oops
authored
28 we at Heroku are heavily involved in the Sinatra and can help you there
7a6768e @bmizerany Ready to go
authored
29 or on our mailing list (http://groups.google.com/group/heroku) if you
30 have non Sinatra questions.
31
17241de @bmizerany oops
authored
32 See [these guidelines](http://www.sinatrarb.com/contributing.html) for
7a6768e @bmizerany Ready to go
authored
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.