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

Re: SVN Newbie setting up web project repository

From: Markus Ewald <Markus_Ewald_at_gmx.net>
Date: 2005-05-03 13:54:44 CEST

Andy Jarrett wrote:

>Hi there,
>
>I'm quite a newbie to SVN. I've got it all set up and running and im
>using Tortoise Svn which all seems to be working fine.
>
>What i would like to know is hows should i set up my directories?? I
>have about 7 different web projects (no files shared between them). My
>current set up (with no version control) is one site per folder. e.g.
>
>d:\wwwroot\site1\
>d:\wwwroot\site2\ etc
>
>I have my webserver pointing 127.0.0.1 to d:\wwwroot\ with directory
>browsing so viewing any site is relatively easy.
>
>Now that i want to use SVN how should this be set up? I was thinking
>still having i repository per site e.g.
>
>d:\svn\site1\
>d:\svn\site2\
>
>Then when i check out a site check it out to d:\wwwroot\. Or should i
>really check out the site in the svn repository i.e.
>d:\svn\site1\www\ (or something similar)? That way all the files are
>in one folder?
>
>
>
I'd keep the repository seperate from the checked out files. Create a
folder for your repositories, like d:\svn, put your repositories in
subdirectories thereof and leave it alone.

If this is a personal web server, just check out site1 to
d:\wwwroot\site1 and site2 to d:\wwwroot\site2, using the checked out
files as live web page (makes testing easier by far). Otherwise, for a
production server, better check out to a seperate directory (eg.
d:\wwwroot\work\site1 and d:\wwwroot\work\site2) that can be
password-protected and do an export to the actual web page directories
whenever you've got a stable version done.

>I don't know if this makes any difference but i will also be checking
>out the files now and then to a laptop for when im working on the
>road.
>
>Hope this isnt too obvious. I did search the mailing lists but didnt
>find anything to specific to my problem.
>
>cheers, Andy
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 3 13:56:25 2005

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.