1. First download the server software of the Subversion Windows version,
: Http://subversion.tigris.org/servlets/ProjectDocumentList? The folderid = 91 file is svn-1.2.0-setup.exe, and then install it. After installation, add the bin path of subversion to the path of the system.
2. Create a subersion database:
First, create a directory to store the Subversion library, and store the Subversion project in this library, as shown in C: \ SVN
3. Create a New subversion project.
Run the following command: Svnadmin create c: \ SVN \ myproject Set the user information of the Project as follows,
Open the passwd file in the conf directory of the Subversion project and add a new user, as shown in figure
[Users]
Admin = mypassword
Next, set some other information about the project, open the svnserve. conf file in the conf directory, and then perform the following settings:
[General]
Anon-access = read
Auth-access = write
Password-DB = passwd
Realm = myproject
4 start subversion, which can be started through the command line, it is best to use SVN service wrapper,
you can download through the following address: http://dark.clansoft.dk /~ MBN/svnservice,
copy svnservice.exe to the bin directory of the main installation directory of subversion, and then run the
command to start the subversion in Windows service mode.
svnservice-install-D-r d: \ subversion]
If the service has been started, run the following command to stop it.
svnservice remove
5. Import a project to Subversion: now we need to import the project to the Subversion library,
run the following command: SVN import D: \ localmyproject SVN: // localhost/myproject-M "Initial import" -- username admin -- password mypassword
so that the project is imported to the Subversion library.
6. Export a project: it is easy to export a project from a subversion project. You only need to perform the following operations:
SVN Co SVN: // localhost/myproject -- username admin -- password mypassword