Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7a6768ebe4

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config
README.markdown
heroku-sinatra-app.rb

README.markdown

Here is a sample/template sinatra application ready for deployment to Heroku.

NOTE This is for heroku.com and not herokugarden.com

You'll first need a Heroku account. Once you have an account, install the gem sudo gem install heroku. If you do not have an SSH key you'll need to generate one and tell Heroku about it

Now, clone and deploy!

my_new_app $ git clone git://github.com/sinatra/heroku-sinatra-app

my_new_app $ heroku create <optional appname>

my_new_app $ git remote add heroku git@heroku.com:<appname>.git

my_new_app $ git push heroku master

Now you may view your site at http://<appname>.heroku.com

NOTES

The small amount of code is heavily commented. If you have questions or comments please use the channels provided by the Sinatra community as we at Heroku are heavily involed in the Sinatra and can help you there or on our mailing list (http://groups.google.com/group/heroku) if you have non Sinatra questions.

See these guidlines for contributing or bugs.

Happy Development and Deploying!

Sincerely, The Heroku Team

Something went wrong with that request. Please try again.