Neil wrote:
> I've an issue at the moment where we are running a CMS within a site
> (browsercms) that let's the user upload files. However, every time I
> do a deploy Capistrano runs a hard reset thus nuking any uploaded
> files.
>
> Does anyone have any suggestions as to how to prevent the hard reset,
> and just do a pull, or a way of moving the uploaded files elsewhere,
> without having to change the application code?
>
>
Hi Neil,
Put you uploaded files in a shared_path (as is called by
capistrano), in every deploy you shoul relink it.
You can find for the subject "Keeping the database across deploys" in
the archive to see a little snippet that do it.
Regards
--
Rafa
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---