On May 2, 2007, at 8:11 AM, Joao Nelas wrote: > And what about if you don't want to hit the svn server, but instead > deploy from a local working copy?
That is not supported by the existing deployment code. You'll need to write your own custom tasks, or a custom SCM module for that. - Jamis > > On 5/2/07, Jamis Buck < [EMAIL PROTECTED]> wrote: > On May 2, 2007, at 6:32 AM, [EMAIL PROTECTED] wrote: > > > I know Jamis is probably working on the tutorial for 2.0. > > > > Can anyone please give share a quick tutorial on the tarball method > > for deploying? > > First, set the :deploy_via variable to :copy : > > set :deploy_via, :copy > > Then, deploy! > > cap deploy > > That will do a "checkout" to a temporary directory, tar+gz it up, and > sftp it to the remote host(s). If you'd rather use an "export", so as > not to send all the SCM metadata to the servers, just add: > > set :copy_strategy, :export > > Lastly, if you'd rather use zip or tar+bz2 to compress the archive, > rather than tar+gz: > > set :copy_compression, :zip # or :bzip2 > > Hope that helps, > > Jamis > > > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
