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 -~----------~----~----~----~------~----~------~--~---
