/sinatra-boilerplate

Yet another sinatra template, this one ready for guard, heroku, coffeescript/haml/sass, asset packing, and proper caching.

Primary LanguageRubyMIT LicenseMIT

Sinatra Boilerplate

This is a template for a Sinatra application using the conventions I find most useful. Specifically, haml/sass/coffeescript on Heroku with proper caching.

What does it have?

Getting started

git clone git://github.com/philoye/sinatra-boilerplate.git
cd sinatra-boilerplate
bundle
bundle exec foreman start

If you want to use live-reload to auto-reload your browser on each save, then open a new shell and do this:

bundle exec guard

Once you are ready to deploy, let's get it on Heroku.

heroku create appname
heroku addons:add memcache:5mb
git push heroku master

That's it.

License

MIT licensed, do what you want.