Sha256: 2517943a6ece7f85b7472b4905f00c2fd1553164153191edcd346f9d4820f57e

Contents?: true

Size: 322 Bytes

Versions: 3

Compression:

Stored size: 322 Bytes

Contents

recipe :setup_database do
  description 'This will create database, then migrate and seed data'
  after :rvm
  
  silently do
    after_install do
      run "cd #{application_name} && rake db:create"
      run "cd #{application_name} && rake db:migrate"
      run "cd #{application_name} && rake db:seed"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
playmo-0.1.2 recipes/setup_database_recipe.rb
playmo-0.1.1 lib/playmo/recipes/setup_database_recipe.rb
playmo-0.1.0 lib/playmo/recipes/setup_database_recipe.rb