Skip to content

Base Sinatra template with support for active_record and mongoid

License

Notifications You must be signed in to change notification settings

gmanley/sinatra_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages