Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (13 sloc) 561 Bytes

Sinatra Application Template

tommy chheng

  • forked from zapnap/sinatra-template, removed datamapper.


A base Sinatra application template. Just fork and build. Yay! Includes Haml all ready to go.

Configuration

Add gems to Gemfile

Add your controller actions in application.rb. Views for these actions are placed in the views directory. Static files, including a stock stylesheet, go in the public directory. Models go in the lib directory and are auto-loaded.

Testing

TODO

Getting Started

rackup -p 5000