A base Sinatra application template with RSpec, and Haml. Comes with a cap script as well.
Ruby JavaScript
Switch branches/tags
Nothing to show
Pull request Compare This branch is 13 commits ahead, 23 commits behind zapnap:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
lib
public
tasks
.gitignore
Capfile
Gemfile
Gemfile.lock
README.rdoc
Rakefile
config.ru

README.rdoc

Sinatra Application Template

tommy chheng

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


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

run using shotgun config.ru -p 4567