Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Commit

Permalink
add bootstrap task
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Moore authored and Chris Moore committed Nov 14, 2012
1 parent be8eb2d commit 3180945
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions db/seeds.rb
Expand Up @@ -5,3 +5,5 @@
#
# cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
# Mayor.create(:name => 'Emanuel', :city => cities.first)

League.find_or_create_by_name('First League')
3 changes: 3 additions & 0 deletions script/bootstrap
@@ -0,0 +1,3 @@
bundle install --path vendor --binstubs
cp config/database.example.yml config/database.yml
rake db:setup

0 comments on commit 3180945

Please sign in to comment.