Here you will have to execute the following command. The first checkout will happen in the svn_repository directory.Now let’s go to the public_html directory.Now using the next command you will have to create a repository inside a directory svn_repository.If it asks for a password, enter the password associated with that username. By firing this command you will be logged in as user associated with public_html directory. If the user you are logged in with is different from that of public_html, then fire the following command where userNameHere is the username of public_html directory.Now we have to check the owner of the public_html directory.Let’s first go to abc directory which can be done by firing command Fire up the SSH terminal of your server and follow the commands below.If you do not have cPanel or a similar software installed then check out how to create a virtual host for Apache and Nginx) I am also assuming you have created a website abc.com with root directory as /home/abc/public_html (If you have not yet created a website, then create it NOW! You can do it using cPanel or similar softwares.In this tutorial, I am assuming that your websites and SVN repositories will be hosted on the same server and you have already installed apache (or nginx) along with the subversion software. Now let’s try to understand how to sync repositories with your websites. It allows many people to work on the code simultaneously thereby saving on valuable time.It provides a separate environment for developers and testers.Versions for a product are like milestones for a client project, you gotta keep tracks.įollowing are some of the many advantages of Subversion.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |