Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 957 Bytes

README.rdoc

File metadata and controls

36 lines (20 loc) · 957 Bytes

Devise Example

Example App using devise. github.com/plataformatec/devise

Installation

Install warden gem if you don’t have it installed:

sudo gem install warden

Use git submodule to update devise inside vendor/plugins:

git submodule init && git submodule update

Rake devise setup task:

rake devise:setup

This will:

  • drop any existing database

  • create a new database

  • migrate the database

  • create a default user and admin

Run the server and use the credentials provided by the rake task to sign in and test the application.

The example is using “rails-footnotes”:github.com/josevalim/rails-footnotes gem. If you don’t have it installed, run the following command to install the gem:

sudo gem install josevalim-rails-footnotes

If you don’t want to install this gem, just comment the line in the environment.rb file.

License

MIT License. Copyright 2009 Plataforma Tecnologia. blog.plataformatec.com.br