On Fri, Oct 9, 2009 at 7:55 AM, Tobias Kremer <[email protected]>wrote:
> 2009/10/9 Octavian Râşniţă <[email protected]>: > > I've recently started to use Mercurial for revision control and the pages > > regarding the deployment of a Catalyst app from the Catalyst wiki also > help > > me very much, but I still don't know what would be the best method for > > uploading the files to the server. > > How do you do it? > > We do a checkout of the latest version on our staging server, test > everything and then rsync it to the webservers. Works like a charm. > > I have deployment branches, and then push from there. It's git, but I'd assume you can do the same in hg (though I've never used it) See: http://blog.woobling.org/2009/05/deployment-branches-with-git.html Then, you can use this post-hook script on the production machine and simply push to that repo: http://github.com/perigrin/soho-web/tree/master/hooks/post-update This works very well, and you can have that be on a deployment server/location and update the working tree of the other servers in the node. -J
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
