On Dec 4, 11:10 am, Andrew Stewart <[EMAIL PROTECTED]> wrote: > On 4 Dec 2007, at 10:00, Sage wrote: > > > Is is possible to use Capistrano when the svn repository is not > > visible from the server? > > Yes, it is. You can have Capistrano grab the code from the > repository locally, tar and gzip it, copy the archive over the > internet to the server, unpack the archive on the server in a > temporary location, and finally move the unpacked code into the > deployment location. > > To do this, set the :deploy_via variable in your deploy.rb like this: > > set :deploy_via, :copy > > See the Deployment Strategies section on this page for more information: > > http://www.capify.org/upgrade/whats-new >
Thank you, this did indeed work. For the benefit of anyone with the same problem as me, let me also mention that I ran into the sftp bug mentioned in the thread "Cap 2.0 file upload problem". I could solve it using that thread using the line set :synchronous_connect, true in deploy.rb Regards, Michael --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
