Haml Coffee Sinatra

August 2, 2012 ยท View on GitHub

This is an example Sinatra application based on the Sinatra Asset Pipeline example application to show the usage of Haml Coffee Assets.

Run the app

Clone the app, switch to the directory and run:

bundle install
bundle exec rackup

Now visit http://http://localhost:9292/ top see it in action.

Compile client side templates

This example uses Guard with Guard Sprockets2 to compile the client side templates.

Run guard with:

bundle exec guard

Contents

  1. 1Run the app
  2. 2Compile client side templates