I am trying to setup a testing server for web development. I have never done this before nor have I ever used svn before.
When I go to
http://linux-server/ from any computer on my network it takes me to the
/var/www path my linux machine.
I am using svn to backup everything inside
currently my svn repository is located at
if I run:
$ svn list -v -R file:///usr/local/svn/svn_repo
11 root Jun 17 17:03 ./ 1 root May 25 14:05 branches/ 1 root May 25 14:05 tags/ 11 root Jun 17 17:03 trunk/ 11 root Jun 17 17:03 trunk/www/ 11 root 2525 Jun 17 17:03 trunk/www/index.php 4 root May 25 16:48 trunk/www/test/ 4 root 105 May 25 16:48 trunk/www/test/index.php
trunk/www/ is the same as
/var/www on the system.
But I want to be able to access my repository from another machine on the network. Something like
Maybe I am thinking about this wrong but it seems to me like in order to do that, I would need to move the repository to
/var/www/svn/ directory. But then wouldn't the repository be backing up itself? or is it OK as long as I never call:
svn add /var/www/svn
I am a little confused.