NYCPHP Meetup

NYPHP.org

[nycphp-talk] Webserver file access (and version control)

Jon Baer 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) ...

http://www.infoq.com/news/2007/08/vlad-the-deployer

:-)

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.
>
> http://manuals.rubyonrails.com/read/chapter/97#page256
> http://www.capify.org/getting-started/basics
> http://www.simplisticcomplexity.com/2006/8/16/automated-php- 
> deployment-with-capistrano
>
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070821/ecf3c60d/attachment.html>


More information about the talk mailing list