This Tutorial Explains The Procedure to Setup Free SVN Repository and Tortoise SVN Client:
We learned the Basics of SVN Repository in our previous tutorial in this SVN series.
In this tutorial, we will be studying how to set up a free server repository and how to set up a free Tortoise SVN client UI that can be used to import and export code to/from the repository.
Table of Contents:
How to Setup a Free SVN Repository?
Now we will see how to set up a free server repository RiouxSVN.
Visit the website RiouxSVN, this website offers free server hosting, a repository where you can host the code for your team and everybody can download the code from this server.
You can create a free account by signing up over here. You can play around and learn more about Subversion hosting. Fill up all the fields and create an account.
Activate the link sent to your email id and then log in. Make a note of your user id and password.
Click ‘Create new repository’, enter the desired repository title and repository name.
Click ‘Next step’.
Click ‘Next step’.
Click ‘Confirm creation’.
Click the repository link (in our example the repository is “svnrep”), and the repository page comes up.
Go to subversion, enter the username and password that you had noted down earlier (in my case, ‘dummy_uname1’ and ‘dummy_password1’ ).
Click ‘Sign in’. As you can see, the repository is empty right now.
How to Install Tortoise SVN Client?
Now that you have set up the repository, you will make one project and upload it to this repository and then you will extract it back to your local machine.
To do this, you need to have an SVN client in your local machine. This client will help you upload your java file or your project into the server (repository). The client that you will use is ‘Tortoise SVN’. This is a UI interface through which you can check-out and check-in (upload) your code into the centralized repository.
Go to the website Tortoise SVN-Download
Download 32 bit or 64-bit version depending upon your machine configuration.
Double click the installer.
Click Next.
Click Next.
Click Next.
Click Install and click ‘Yes’ on the window popup message that comes up, and the installation will begin.
Click Finish. Tortoise SVN should get installed in your machine.
Now when you click ‘TortoiseSVN’, a warning message which says that to use TortoiseSVN, you have to right-click on any folder and start using its features will be shown as below.
Click Ok to close the warning message. Now, just right-click any folder, and you will see the ‘TortoiseSVN’ menu that further has sub-menu items.
Conclusion
In this tutorial, we have not only successfully set up a free repository but we have also successfully set up a free Tortoise SVN UI client.
The repository will help us in importing and exporting the test code. The Tortoise client will help us in checking-in and checking-out the test code from the server repository.
In the next tutorial of this series, we will learn the concept of checking out the code from the server and checking-in the code into the server.