Skip to content

cristianbica/rails-bootstrap-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What's this?

An empty Rails application hooked up with some basic stuff: inherited_resources, has_scope, delayed_job, simple-navigation, rspec, twitter bootstrap integration, some scaffold generators

Details

Basic

Twitter bootstrap

The application is themed by bootstrap. Simple form generates the forms for bootstrap. Pagination is styled by bootstrap_kaminari. Also there's an app:scaffold generator that make some pretty nice pages :)

RSpec

Howto

  • Clone the repo
  • setup config/database.yml
  • rake db:migrate
  • done!

Howto use the app:scaffold

  • rails g model model field1:type field2:type
  • rake db:migrate
  • rails g app:scaffold pluralized_model
  • now you can configure the model, controller, view

NOTE: don't forget to setup the cancan ability. By default all users can manage everything

TODO

  • more detailed explanation
  • write tests for user model, authentication, authorization
  • setup integration tests
  • enable OAuth
  • enable registration
  • localize for other languages
  • add roles to users for better authorization management
  • make this a gem with a generator that does all the setup

About

Template rails app with bootstrap, devise, cancan

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published