Skip to content

Commit

Permalink
m a c
Browse files Browse the repository at this point in the history
  • Loading branch information
elite28 committed Aug 13, 2010
1 parent d76c34e commit 621dccc
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions README.rdoc
Expand Up @@ -2,24 +2,27 @@
==This template is based on Rails 3 and apply some features :
* You can choose which ORM (mysql or mongoid) you want.
* Add Gems/Plguins support:
* Devise (user management)
* carrierwave(upload files)
* minimagick(handle images)
* haml& sass
* will_paginate
* Devise (user management)
* carrierwave(upload files)
* minimagick(handle images)
* haml& sass
* will_paginate
* Substitute Prototype with jQuery.
= Usage:
1. If you like using mysql:

1. If you like using mysql:
rails new app_name -d mysql -m http://github.com/moscn/rails-3-template/raw/master/template.rb
2. If you choose mongoid:
rails new app_name -m http://github.com/moscn/rails-3-template/raw/master/template.rb
rails new app_name -d mysql -m http://github.com/moscn/rails-3-template/raw/master/template.rb

2. If you choose mongoid:

rails new app_name -m http://github.com/moscn/rails-3-template/raw/master/template.rb

3. When this command finished, you should customize your devise configuration follow these steps

When this command finished, you should customize your devise configuration follow these steps
(refer to: http://wiki.github.com/fortuity/rails3-mongoid-devise/tutorial-walkthrough):
1. Use Devise to generate models and routes for a User:
3.1. Use Devise to generate models and routes for a User:

$ rails generate devise User
$ rails generate devise User



Expand Down

0 comments on commit 621dccc

Please sign in to comment.