[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Sending files to webserver

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-10-24 19:32:47 CEST

On Oct 24, 2006, at 08:12, Fournier,Danny [NCR] wrote:

> I'd like to know how to take the files from the repository and
> put/export/copy them on the webserver so that the client in
> question can
> see the updated version of his site.
>
> Here's a brief explanation of our architecture:
>
> Client project URL
> http://dev-webserver/project-dir/
>
> Local copies
> http://dev-webserver/project-locals/coderA/
> http://dev-webserver/project-locals/coderB/
> http://dev-webserver/project-locals/coderC/
>
> Repository
> Drive:\folder\repository

On the dev web server, create a working copy. Point your web server
at the appropriate place within that working copy. Whenever you'd
like to update the working copy, ssh in to the server and run "svn
up" in the working copy. If the web server and the repository server
are the same machine, it is easy to install a post-commit hook into
the repository which will automatically run "svn up" after anybody
commits. If repository server and web server are different machines,
this can still be done, though the setup is more involved; you have
to find a way to trigger the "svn up" command on the web server
machine from the repository server machine. This can be done with ssh
and public/private keypairs.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 24 19:33:52 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.