Hello. I decided to master SVN. Immediately there were questions:

  1. I am developing a website, I uploaded it to the repository (trunks). I don’t understand further: if I want to further develop this site, do I make a working copy of it on the server?
  2. How to run the main project in the repository? To understand whether the changes worked on it or not, if it works at all, etc.

Anyone who will answer many thanks.

    2 answers 2

    svn co https://your_repository_path/trunk . 

    on a server, configure svn up in crontab and work. Now your commits will be after a while (the svn up startup interval in krone) will be on the battle server.

    PS dot at the end of the svn co command is not the completion of a phrase, but a dot, otherwise the trunk folder will still be created on the server and all data will be placed into it

    • I certainly appreciated your genius and talent for a short answer. But could you explain to me in the language of mortals a couple of unfamiliar words with which you have besieged me: svn up in crontab. If you read my question, it clearly states that I just started learning SVN and also indicated that I use the tortoise interface. Com I do not use the string for this purpose yet. Thank. - Samat Zhanbekov 5:57 pm

    On java something like this:

    1. There is a copy of the project in the repository;
    2. There is a local working copy that periodically needs to be synchronized with the copy in the repository;
    3. When needed, build the project, which is deployed on the server. You do not need to run anything in the repository, the project files are simply stored there.
    • 1. That is, a working copy of the project is obtained must be stored somewhere on the server (in my case apache) in order to be able to run it. Did I understand you correctly? 2. Under the project build on the server, do you mean the final working draft? - Samat Zhanbekov