Created
September 3, 2012 20:43
-
-
Save mulderp/3613287 to your computer and use it in GitHub Desktop.
Spine / Rails template
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
gem("rspec-rails", :group => "test") | |
gem("cucumber-rails", :group => "test") | |
gem("spine-rails") | |
gem("eco") | |
gem("mongoid") | |
if yes?("Would you like to install Devise?") | |
gem("devise") | |
generate("devise:install") | |
model_name = ask("What would you like the user model to be called? [user]") | |
model_name = "user" if model_name.blank? | |
generate("devise", model_name) | |
end | |
run "rm public/index.html" | |
run "rails g scaffold post title:string content:string" | |
run "rails generate mongoid:config" | |
git :init | |
git :add => "." | |
git :commit => "-a -m 'Initial commit'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment