1. Installation
After downloading the TORTOISESVN, we enter the installation interface.
Here is a point to note, such as:
Under the Windows system, this default is not selected, we select it, so that the installation can be set by default environment variables (the SVN command under CMD function). If unchecked, you will need to add the corresponding file directory for the bin in the SVN installation directory under path in the environment variable.
2. Create a warehouse
I created the new repository folder in the SVN installation directory for use as a local repository. Enter Repository Right-click->tortoisesvn->create Repository here
After the successful creation, the directory is as follows, and you can see the repository change.
3. Uploading a project
My repository directory is D:\SVN\repository
Create a new folder in any location (our project folder), add a 1.txt inside to enter any content. Then right-click inside the folder->tortoisesvn->import
URL is file:///D:/SVN/repository (corresponding warehouse directory, if remote warehouse, modified to SVN://IP: Port number/warehouse path)
4. Configure Users and Permissions
To the Conf under the database, modify the svnserve.conf
# [general]# password-db = passwd改为:# [general]# password-db = passwdpassword-db = passwd
Then modify the passwd file of the same directory
# [users]# harry = harryssecret# sally = sallyssecret改成# [users]# harry = harryssecret# sally = sallyssecretjhon=123
The left side is the user name and the right is the password
Each corresponding to a user, the middle space does not
5. Turn on the service
Win+r Open the input cmd and enter the following command to start the service so that the client can access the SVN service
D:\SVN\repository represents the location of the SVN repository
TORTOISESVN Chinese Manual
TORTOISESVN Server Setup