A base Sinatra application template with RSpec, and Haml. Comes with a cap script as well.
Pull request Compare This branch is 6 commits behind tc:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib
public
tasks
views
Capfile
Gemfile
README.rdoc
Rakefile
application.rb
config.ru

README.rdoc

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