Skip to content

Commit

Permalink
symlink configuration files in rails root
Browse files Browse the repository at this point in the history
  • Loading branch information
tsujigiri committed Aug 30, 2013
1 parent 4cd7836 commit 12eaf65
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/capistrano/tasks/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
task :set_symlinks do
ln("#{shared_path}/config/app_config.yml", "#{release_path}/config/app_config.yml")
ln("#{shared_path}/config/database.yml", "#{release_path}/config/database.yml")
ln("#{shared_path}/config/secret_token", "#{release_path}/secret_token")
ln("#{shared_path}/config/mail_username.txt", "#{release_path}/mail_username.txt")
ln("#{shared_path}/config/mail_password.txt", "#{release_path}/mail_password.txt")
mkdir("#{release_path}/solr/pids")
ln("#{shared_path}/pids", "#{release_path}/solr/pids/production")
mkdir("#{shared_path}/assets")
Expand Down

0 comments on commit 12eaf65

Please sign in to comment.