Browse Source

capistrano seed

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
110b596a09
  1. 5
      config/deploy.rb

5
config/deploy.rb

@ -57,4 +57,9 @@ namespace :deploy do
task :symlink_settings_yml, :roles => :app do
run "ln -nfs #{deploy_to}/shared/config/settings.yml #{release_path}/config/settings.yml"
end
desc "Populates the Production Database"
task :seed do
run "cd #{current_path}; #{rake} db:seed RAILS_ENV=production"
end
end

Loading…
Cancel
Save