Skip to content

Commit

Permalink
Add config symlinks for testing environment
Browse files Browse the repository at this point in the history
  • Loading branch information
mlainez committed Sep 11, 2011
1 parent 5e51c4a commit 14834ea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/deploy/testing.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@
run "ln -s #{deploy_to}/shared/system/ #{deploy_to}/current/public/system"
end

task :symlink_options do
run "ln -s #{deploy_to}/shared/options.yml #{deploy_to}/current/config/options.yml"
end

task :symlink_db do
run "ln -s #{deploy_to}/shared/database.yml #{deploy_to}/current/config/database.yml"
end

desc "Seeding Database"
task :rake_db_seed do
run "cd #{current_path}/ && rake RAILS_ENV=\"testing\" db:seed --trace"
Expand Down

0 comments on commit 14834ea

Please sign in to comment.