[EMAIL PROTECTED] wrote:
> I have a set up where I have files stored in a folder in the public
> directory in a folder called photos. How do I tell capistrano to not
> delete those files? (right now by default it is removing all the files
> in my public_html folder and copying the new ones in so its deleting
> my uploded photos.)

Typically you store the photos somewhere else (e.g. shared/photos or 
/opt/data/photos) and symlink this directory to public/photos on 
deployment.

This way your application does not have to know about this different 
storage path.

Jonathan

-- 
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to