Skip to content
CodeBlockdevPublic

About

Base Sinatra template with support for active_record and mongoid

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

20 Commits

Folders and files

Repository files navigation

Sinatra Template

My base Sinatra template, with support for ActiveRecord. For Mongoid support checkout the corresponding branch.

  • Clone the repository
  • Rename 'config/config.yml.example' & edit config as needed.
  • bundle
  • Create databases
  • rake db:migrate
  • script/server to start the development server.
  • script/console to start console
  • RACK_ENV=test rake db:migrate spec to run tests

Feel free to fork it, clone it or otherwise modify it for your own use.

Includes a basic authentication system.

Setup with:

  • ActiveRecord or Mongoid
  • HAML
  • Twitter Bootstrap

Requirements:

  • Ruby (>= 1.9.2)
  • Any ActiveRecord supported db or MongoDB
  • Bundler

About

Base Sinatra template with support for active_record and mongoid

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors