Created
April 27, 2012 08:40
-
-
Save amatsuda/2507515 to your computer and use it in GitHub Desktop.
a sample Rails app
This file contains hidden or 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
| git :init | |
| git :add => '.' | |
| git :commit => "-m 'Initial commit'" | |
| remove_file 'public/index.html' | |
| git :add => 'public' | |
| git :commit => "-a -m 'rm public/index.html'" | |
| generate :model, 'user name' | |
| generate :model, 'recipe title user:references' | |
| generate :model, 'tsukurepo comment:text user:references recipe:references' | |
| rake 'db:migrate' | |
| git :add => '.' | |
| git :commit => "-m 'generate models'" | |
| gem 'erd' | |
| run 'bundle' | |
| git :add => '.' | |
| git :commit => "-m 'bundle erd'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment