Skip to content

starterkits/rails3-starterkit-mongoid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

== Setup

On OSX dev machine (includes rb-fsevent)...

rails new quickstartmongo --skip-active-record --skip-test-unit

rails g mongoid:config

rails g rspec:install
rails g cucumber:install --rspec --spork
gem install rb-fsevent
guard init spork
guard init rspec
guard init cucumber

# resque
create config/initializers/resque.rb
add to routes.rb >>> mount Resque::Server.new, :at => "/resque"

# setup devise
rails g devise:install
rails g devise User
rails g devise:views

Output from devise:install...
===============================================================================
Some setup you must do manually if you haven't yet:

  1. Setup default url options for your specific environment. Here is an
     example of development environment:

       config.action_mailer.default_url_options = { :host => 'localhost:3000' }

     This is a required Rails configuration. In production it must be the
     actual host of your application

  2. Ensure you have defined root_url to *something* in your config/routes.rb.
     For example:

       root :to => "home#index"

  3. Ensure you have flash messages in app/views/layouts/application.html.erb.
     For example:

       <p class="notice"><%= notice %></p>
       <p class="alert"><%= alert %></p>
===============================================================================

About

Rails 3.1 quick start project with devise, omniauth, and mongoid

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published