Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (17 sloc) 562 Bytes

A Mustache Sinatra Example

Get started:

$ gem install mustache sinatra
$ git clone git://github.com/defunkt/mustache-sinatra-example.git
$ cd mustache-sinatra-example
$ rackup config.ru
$ open http://localhost:9292

Or browser to http://localhost:9292 by hand.

Note that we use a templates and a views directory. You don't have to. By default the views and templates will live in the views directory together.

Dependencies

  • Sinatra 1.0
  • Mustache 0.9.0

Enjoy.

Chris Wanstrath :: chris@ozmm.org

Jump to Line
Something went wrong with that request. Please try again.