Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 47 lines (38 sloc) 0.937 kb
5b205bd initial import version 0.0.1
mriley authored
1 # Delete unneeded files
2 run 'rm README'
3 run 'rm public/index.html'
4 run 'rm public/favicon.ico'
5 run 'rm public/robots.txt'
6 run 'rm -f public/javascripts/*'
7
8 # Prepare .gitignore files
9 run 'touch tmp/.gitignore log/.gitignore vendor/.gitignore'
10 append_file '.gitignore', <<-END
11 .DS_Store
12 log/*.log
13 tmp/**/*
14 db/*.sqlite3
15 coverage/*
16 public/system/**/*
17 END
18
19 # Set up git repository
20 git :init
21 git :add => '.'
22
b546a73 removed raphael.js default install and updated appending to Gemfile
mriley authored
23 #download jquery.js
5b205bd initial import version 0.0.1
mriley authored
24 run "curl -s -L http://code.jquery.com/jquery-1.4.4.js > public/javascripts/jquery.js"
25
b546a73 removed raphael.js default install and updated appending to Gemfile
mriley authored
26 append_file 'Gemfile', <<-END
5b205bd initial import version 0.0.1
mriley authored
27
28 group :cucumber do
29 gem 'capybara'
30 gem 'database_cleaner'
31 gem 'cucumber-rails'
990b32f updated cucumber setup command
mriley authored
32 gem 'cucumber'
33 gem 'rspec-rails'
5b205bd initial import version 0.0.1
mriley authored
34 gem 'spork'
35 gem 'launchy' # So you can do Then show me the page
36 end
37 END
38
39 #get the gems installed if they aren't already
40 run "bundle install"
41
42 #set up cucumber
990b32f updated cucumber setup command
mriley authored
43 run "rails g cucumber:install --rspec --capybara"
5b205bd initial import version 0.0.1
mriley authored
44
45 git :add => '.'
b546a73 removed raphael.js default install and updated appending to Gemfile
mriley authored
46 git :commit => "-a -m 'Initial Commit'"
Something went wrong with that request. Please try again.