I am not totally sure how to do this. Obviously I would want to create
some sym links to the directories outside the project, so where do you
guys find the best place to place the folders is (ex.
/project_uploads/[project_name]) ?
Or is there a better way, ie. moving items through capistrano?
Thanks.
This is what I have done. Not sure if it is the best way, but it works
well.
desc “Sync the uploads to the new current project”
task :sync_uploads, :roles => [:app] do
run “mkdir -p #{shared_path}/uploads”
run “chown #{user}:#{user} #{shared_path}/uploads/”
run “ln -nsf #{shared_path}/uploads #{current_path}/public/uploads”
end