Sinatra + Sprockets + Slim + Sinatra-reloader Example
Credit comes from
for the initial inspiration to get this thing working.
git clone git://github.com/wulftone/sinatra-sprockets-slim.git cd sinatra-sprockets-slim bundle exec thin start firefox localhost:3000
When deploying to heroku, make sure you use the
heroku create my_app --stack cedar
I wanted a simple way to get a backbone.js application up and running quickly, so I made this thing!
Basically, it's the barest-of-bones version with embedded examples that you should overwrite to get started. It has the following stuffs:
app.rb is a Sinatra application that is served from
config.ru sets up a rackable Sprockets::Environment instance with
assets/templates added to the load path. This
endpoint is mounted at