Guest User

Untitled

a guest
Feb 21st, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. run "rm public/index.html"
  2. file '.gitignore', <<-IGNORE
  3. log/*.log
  4. tmp/**/*
  5. .DS_Store
  6. doc/api
  7. doc/app
  8. db/*.sqlite3
  9. IGNORE
  10. run "touch log/.gitignore"
  11. run "touch tmp/.gitignore"
  12.  
  13. git :init
  14. git :add => ".", :commit => "-a -m 'Initial commit'"
  15.  
  16. git :submodule => 'add git://github.com/rails/rails.git vendor/rails'
  17. git :submodule => :init, :commit => "-a -m 'Added Rails Edge as a git submodule'"
  18.  
  19. plugin 'rspec', :git => 'git://github.com/dchelimsky/rspec.git', :submodule => true
  20. plugin 'rspec-rails', :git => 'git://github.com/dchelimsky/rspec-rails.git', :submodule => true
  21. plugin 'fixture_replacement', :git => 'git://github.com/smtlaissezfaire/fixture-replacement-git.git', :submodule => true
  22. plugin 'restful-authentication', :git => 'git://github.com/technoweenie/restful-authentication.git', :submodule => true
  23. plugin 'acts_as_state_machine', :git => 'git://github.com/freels/acts_as_state_machine.git', :submodule => true
  24. plugin 'exception_notifier', :git => 'git://github.com/rails/exception_notification.git', :submodule => true
  25. plugin 'acts_as_taggable_on', :git => 'git://github.com/mbleigh/acts-as-taggable-on.git', :submodule => true
  26. plugin 'paperclip', :git => 'git://github.com/thoughtbot/paperclip.git', :submodule => true
  27. plugin 'jrails', :git => 'git://github.com/aaronchi/jrails.git', :submodule => true
  28. git :submodule => :init, :commit => "-a -m 'Installed plugins'"
  29.  
  30. generate("rspec -g")
  31. git :rm => "-r test", :commit => "-a -m 'Generated Rspec & Deleted test/'"
  32.  
  33. generate("cucumber -g")
  34. git :rm => "-r stories", :commit => "-a -m 'Generated Cucumber & Deleted stories/'"
  35.  
  36. generate("fixture_replacement -g")
  37. git :commit => "-a -m 'Generated Example Data'"
  38.  
  39. generate("authenticated", "-g --rspec --stateful user session")
  40. git :commit => "-a -m 'Generated User model'"
  41.  
  42. generate("acts_as_taggable_on_migration -g")
  43. git :commit => "-a -m 'Generated tags migration'"
  44.  
  45. git :rm => "public/javascripts/controls.js public/javascripts/dragdrop.js public/javascripts/effects.js public/javascripts/prototype.js"
  46. run "cp vendor/plugins/jrails/javascripts/j*.js public/javascripts"
  47. git :add => "public/javascripts/j*.js", :commit => "-m 'Added jQuery & deleted Prototype'"
  48.  
  49. rake "db:migrate"
  50. git :add => "db/schema.rb", :commit => "-m 'Created schema.rb'"
Add Comment
Please, Sign In to add comment