heartcombo--devise/lib/generators/templates
Ryan Mohr f3928d8462 Mention devise-encryptable requirement for anything but bcrypt. 2013-02-25 10:42:06 -10:00
..
markerb Apparently Rails 3.1 does not like @headers as ivar 2012-12-13 09:59:36 +01:00
simple_form_for Apply the changes on `0c4615e33` to the `simple_form` template too. 2013-01-14 18:53:34 -02:00
README Update lib/generators/templates/README 2012-09-06 17:26:20 +03:00
devise.rb Mention devise-encryptable requirement for anything but bcrypt. 2013-02-25 10:42:06 -10:00

README

===============================================================================

Some setup you must do manually if you haven't yet:

  1. Ensure you have defined default url options in your environments files. Here 
     is an example of default_url_options appropriate for a development environment 
     in config/environments/development.rb:

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

     In production, :host should be set to 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>

  4. If you are deploying Rails 3.1+ on Heroku, you may want to set:

       config.assets.initialize_on_precompile = false

     On config/application.rb forcing your application to not access the DB
     or load models when precompiling your assets.

  5. You can copy Devise views (for customization) to your app by running:

       rails g devise:views

===============================================================================