My Sinatra Application Template (Includes Bundler, RSpec, RCov, YARD, Haml and of course Sinatra)
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
spec
styles
tasks
views
.gitignore
Gemfile
LICENCE
README.rdoc
Rakefile
application.rb
config.ru

README.rdoc

Sinatra Application Template

Includes Bundler, RSpec, RCov, YARD, Haml and of course Sinatra

Getting Started

Make sure you are running the latest RubyGems:

sudo gem update --system

Install Bundler (github.com/wycats/bundler)

sudo gem install bundler

Running Bundler

gem bundle

Run your application

./bin/rackup

Compile stylesheets with LESS (lesscss.org/)

./bin/lessc styles/style.less public/css/style.css

Run specs with RSpec (rspec.info/)

Run all specs

./bin/rake spec

Run all specs with coverage (eigenclass.org/hiki.rb?rcov)

./bin/rake rcov

Generate documentation with YARD (yardoc.org/)

./bin/rake yard