This commit is contained in:
Nicolas Bally 2011-12-29 11:09:11 +01:00
parent 95e3da729e
commit 1054fe590e
2 changed files with 6 additions and 1 deletions

View File

@ -27,5 +27,5 @@ production:
database: jfn_app_prod
pool: 5
username: jfn_app
password: dev
password: jfnprod
socket: /tmp/mysql.sock

View File

@ -65,4 +65,9 @@ set :application, 'jfn_app'
run "cd #{deploy_to}current && rake db:migrate RAILS_ENV=#{rails_env}"
end
task :seeds do
run "cd #{deploy_to}current && rake db:seeds RAILS_ENV=#{rails_env}"
end
end