Created
March 6, 2011 20:03
-
-
Save stungeye/857601 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rails new httpdocs --database=mysql | |
Config the db in config/database.yaml | |
Create subversion repos location: | |
svnadmin create /var/svn/n3repos | |
Import the rails project. | |
svn import project file:///var/svn/n3repos/project | |
Check out that folder in place. (i.e. rm and checkout.) | |
Add required gems to Gemfile: | |
gem 'authlogic' | |
gem "rails3-generators" | |
gem "nifty-generators", :group => :development | |
and then: | |
bundle install | |
Following these AuthLogic tuts: | |
http://www.logansbailey.com/2010/10/06/how-to-setup-authlogic-in-rails-3/ | |
http://www.dixis.com/?p=352 | |
rails g nifty:layout --haml | |
rails g user email:string password:string --haml | |
Then edit the migration as shown in the above tuts. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment