Skip to content

A base Sinatra application template with RSpec, and Haml. Comes with a cap script as well.

Notifications You must be signed in to change notification settings

tc/sinatra-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A base Sinatra application template with RSpec, and Haml. Comes with a cap script as well.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 98.5%
  • JavaScript 1.5%