Thursday, 23 June 2016

SVN SERVER REPOSITORY CREATION


STEP 1:
svnadmin create “d:\svn_repos”
(CREATE NEW REPOSITORY)

STEP 2:
GO TO D:\svn_repos\conf\
Svnserve.conf
[general]
anon-access = read
auth-access = write
passwd_db = passwd
Uncomment these lines in “svnserve.conf” file

STEP 3:
(OPEN NEW CMD WITH administrator rights)
set SVN_EDITOR = c:\windows\system32\notepad.exe

svnserve --daemon --root "d:\svn_repos"


Step 3 A
Add subversion variables in system variables
Path C:\Program Files (x86)\Subversion\bin
Extract svn service.zip and copy all the data to C:\Program Files (x86)\Subversion\bin

STEP 4:
(NOW CLOSE THE OLD CMD)
svnservice -install --daemon --root “d:\svn_repos”


STEP 4(a):

Svn mkdir svn://localhost/”project”

STEP 5:
(NOW START THE SERVICES)
sc configsvnservice start= auto
net start svnservice

STEP 6:
svn ls svn://localhost/

No comments:

Post a Comment