[nycphp-talk] Webserver file access (and version control)
jonbaer at jonbaer.com
Tue Aug 21 12:48:31 EDT 2007
+1 for Capistrano, it saves so much time ...
But if you need something else even more lightweight ... Vlad the
Deployer (yes, that is the name, no typo) ...
On Aug 21, 2007, at 12:41 PM, Rob Marscher wrote:
> On Aug 20, 2007, at 3:59 PM, Cliff Hirsch wrote:
>> But...it's still an update and conflicts would be a bear to
>> deal with in a production environment
> You should check out Capistrano some time. It pulls down the whole
> app from subversion into a new directory. It then symlinks the
> current webroot to the new directory pulled from subversion. You
> also keep files - like things users have uploaded - in a separate
> directory and symlink to that from your docroot too. That way
> they're outside of the app directories.
> What I like about this approach is that all the files still exist
> from the previous working state and if anything is wrong, you just
> switch the docroot symlink to point to the old directory - very
> quick recovery.
> Capistrano is a ruby app the allows automated scripting and
> parallel updates on multiple servers at the same. Worth looking
> into before rolling out your own custom shell scripts.
> New York PHP Community Talk Mailing List
> NYPHPCon 2006 Presentations Online
> Show Your Participation in New York PHP
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the talk