To setup SVN for a New Project
1. Find a location for the SVN repository, then do:
svnadmin create path/to/repos
2. Add something to the repository for initial import. Create a directory “myproject”, then import it:
svn import -m “New import” myproject file:///path/to/repos/myproject
3. Start a new svnserve process for remove checkout/checkin:
svnserve -d –listen-port=3691 -r /path/to/repos
*note* default port is 3690, using different port allows you to setup svn for different projects on one server
4. Right click on a Windows folder, and do a checkout svn://ip_address:port/
5. Now add a new user to allow access to svn repository, edit /path/to/repos/conf/passwd file, add a line like:
userĀ = userpwd
Then add or uncomment the lines in /path/to/repos/conf/svnserve.conf :
anon-access = none
auth-access = read
auth-access = write
…
password-db = passwd
Finally, restart the svnserve process.