search for: usr_img

Displaying 1 result from an estimated 1 matches for "usr_img".

Did you mean: user_img
2006 Apr 25
0
Capistrano adding shared files
I''m finding the :before_task and :after_task facilities in Capistrano very useful. For example, I needed to add a shared directory to my system. All I had to do was add a few lines to deploy.rb: desc "Add shared usr_img directory to shared" task :after_setup do run <<-CMD mkdir -p -m 775 #{shared_path}/user_img CMD end desc "Link shared usr_img directory to public/usr_img" task :after_update_code do run <<-CMD ln -nfs #{shared_path}/user_img #{release_path}/public/user_img C...