Build SVN server with online storage

Source: Internet
Author: User
Document directory
  • 1. Install the online storage
  • 2. Create SVN reporsitory
  • 3. Use svn-export
  • 4. SVN use-submit
  • 5. Synchronize SVN data
  • 6. Summary
1. Install the online storage

Select a well-known network disk storage in China, such as Kingsoft Network Disk and 360 cloud disk. The registered account will provide several GB of space by default, download the corresponding network disk client management software (or use a browser), and log on with an account to upload and manage files. As shown in:

2. Create SVN reporsitory

Create SVN reporsitory based on the network disk and create a directory in the Network Disk, for example, "SVN" directory. Enter this directory and use tortoisesvn to create a repository (reporsitory)

After successful creation, the svn repository management file will be generated in the "SVN" directory. At this time, the svn service can use

3. Use svn-export

Create a project in the "project" directory, right-click the project and select SVN checkout. The configuration is shown in the following figure: Repository http://www.cnblogs.com/gaojun/admin/?svn=and projecprojecproject#click okto complete export.

If the prompt is successful, SVN can be used.

4. SVN use-submit

Upload a test file named textsvn.txt in the complete project.txt, right-click the "project" directory, and use "SVN commit" to submit the test result, as shown in:

If the prompt is as follows:

Indicates that SVN can be used.

5. Synchronize SVN data

Perform the same steps on other computers and use the same network disk account. In this way, the "SVN" directory is both an online update directory and an SVN database that is instantly synchronized. In fact, two SVN databases are created on the two computers. However, because of the existence of the Network Disk client and the powerful version control function of SVN, the two SVN databases are consistent at any time. (Reference: http://www.cnblogs.com/rinkky/archive/2012/05/20/2509392.html)

 

6. Summary

This method is better than Google. code is much faster, and Google. code is often blocked by our great "Great Wall". I personally feel that it is suitable for some small projects. If it is a big project, forget it !!)

In addition, we provide some tutorials on how to build and use SVN (source network, click to download)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.