Here is a sample/template sinatra application ready for deployment to Heroku.
NOTE This is for heroku.com and not herokugarden.com
Now, clone and deploy!
projects $ git clone git://github.com/sinatra/heroku-sinatra-app
projects $ cd heroku-sinatra-app
my_new_app $ heroku create <optional appname> --remote
my_new_app $ git push heroku master
Now you may view your site at
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 involved in Sinatra. Please use the Heroku mailing list if you have non Sinatra questions.
See these guidelines for contributing or bugs.
Happy Development and Deploying!
Sincerely, The Heroku Team