Skip to content

Instantly share code, notes, and snippets.

@stungeye
Created March 6, 2011 20:03
Show Gist options
  • Save stungeye/857601 to your computer and use it in GitHub Desktop.
Save stungeye/857601 to your computer and use it in GitHub Desktop.
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