You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Fournier,Danny [NCR]" <Da...@ec.gc.ca> on 2006/10/24 13:12:25 UTC

Sending files to webserver

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
 
Thanks,
 
Dan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Sending files to webserver

Posted by Ryan Schmidt <su...@ryandesign.com>.
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