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