Skip to content

scottatron/devise_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An example app which uses Devise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published