Skip to content

Instantly share code, notes, and snippets.

@jduff
Created December 13, 2008 23:22
Show Gist options
  • Save jduff/35575 to your computer and use it in GitHub Desktop.
Save jduff/35575 to your computer and use it in GitHub Desktop.
run "rm public/index.html"
git :init
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 "exception-notifier", :git => "git://github.com/rails/exception_notification.git", :submodule => true
plugin "restful-authentication", :git => "git://github.com/technoweenie/restful-authentication.git", :submodule => true
plugin "semantic-form-builder", :git => "git://github.com/rubypond/semantic_form_builder.git", :submodule => true
plugin "paperclipped", :git => "git://github.com/kbingman/paperclipped.git", :submodule => tru
gem "will-paginate", :git => "git://github.com/mislav/will_paginage.git"
gem "haml", :git => "git://github.com/nex3/haml.git"
rake "gems:install", :sudo => true
run "haml --rails ."
route "map.login '/login', :controller => 'sessions', :action => 'new'"
rakefile("cruise_controle.rake") do
<<-TASK
desc "Run all the tests, including API and acceptance tests"
task :cruise do
Rake::Task['db:migrate'].invoke
Rake::Task['spec'].invoke
Rake::Task['spec:stories'].invoke
Rake::Task['metrics:all'].invoke
Rake::Task['flogger:record'].invoke
end
TASK
end
initializer 'form_builder.rb', <<-CODE
ActionView::Base.default_form_builder = SemanticFormBuilder
CODE
generate("authenticated", "user session")
generate("rspec")
rake("db:migrate")
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