From 1054fe590e749b77ff7fba43f0c710d14cde8e1c Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Thu, 29 Dec 2011 11:09:11 +0100 Subject: [PATCH] initial --- config/database.yml | 2 +- config/deploy.rb | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/config/database.yml b/config/database.yml index 6573c74..2f58637 100644 --- a/config/database.yml +++ b/config/database.yml @@ -27,5 +27,5 @@ production: database: jfn_app_prod pool: 5 username: jfn_app - password: dev + password: jfnprod socket: /tmp/mysql.sock \ No newline at end of file diff --git a/config/deploy.rb b/config/deploy.rb index 9025ee5..b259562 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -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 \ No newline at end of file