Skip to content

Instantly share code, notes, and snippets.

@porras
Created December 8, 2008 10:55
Show Gist options
  • Save porras/33424 to your computer and use it in GitHub Desktop.
Save porras/33424 to your computer and use it in GitHub Desktop.
run "rm public/index.html"
file '.gitignore', <<-IGNORE
log/*.log
tmp/**/*
.DS_Store
doc/api
doc/app
db/*.sqlite3
IGNORE
run "touch log/.gitignore"
run "touch tmp/.gitignore"
git :init
git :add => ".", :commit => "-a -m 'Initial commit'"
git :submodule => 'add git://github.com/rails/rails.git vendor/rails'
git :submodule => :init, :commit => "-a -m 'Added Rails Edge as a git submodule'"
plugin 'rspec', :git => 'git://github.com/dchelimsky/rspec.git', :submodule => true
plugin 'rspec-rails', :git => 'git://github.com/dchelimsky/rspec-rails.git', :submodule => true
plugin 'fixture_replacement', :git => 'git://github.com/smtlaissezfaire/fixture-replacement-git.git', :submodule => true
plugin 'restful-authentication', :git => 'git://github.com/technoweenie/restful-authentication.git', :submodule => true
plugin 'acts_as_state_machine', :git => 'git://github.com/freels/acts_as_state_machine.git', :submodule => true
plugin 'exception_notifier', :git => 'git://github.com/rails/exception_notification.git', :submodule => true
plugin 'acts_as_taggable_on', :git => 'git://github.com/mbleigh/acts-as-taggable-on.git', :submodule => true
plugin 'paperclip', :git => 'git://github.com/thoughtbot/paperclip.git', :submodule => true
plugin 'jrails', :git => 'git://github.com/aaronchi/jrails.git', :submodule => true
git :submodule => :init, :commit => "-a -m 'Installed plugins'"
generate("rspec -g")
git :rm => "-r test", :commit => "-a -m 'Generated Rspec & Deleted test/'"
generate("cucumber -g")
git :rm => "-r stories", :commit => "-a -m 'Generated Cucumber & Deleted stories/'"
generate("fixture_replacement -g")
git :commit => "-a -m 'Generated Example Data'"
generate("authenticated", "-g --rspec --stateful user session")
git :commit => "-a -m 'Generated User model'"
generate("acts_as_taggable_on_migration -g")
git :commit => "-a -m 'Generated tags migration'"
git :rm => "public/javascripts/controls.js public/javascripts/dragdrop.js public/javascripts/effects.js public/javascripts/prototype.js"
run "cp vendor/plugins/jrails/javascripts/j*.js public/javascripts"
git :add => "public/javascripts/j*.js", :commit => "-m 'Added jQuery & deleted Prototype'"
rake "db:migrate"
git :add => "db/schema.rb", :commit => "-m 'Created schema.rb'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment