Using Subversion and Pushing to Staging and then Live Sever

We want to add a control server and version control to our development pipeline. Our site is a sophisticated web application running on a remote Linux server with PHP, MySQL and Apache. We simply configured Subversion on the office LAN and included it in Dreamweaver CS5. Our development machines run on Windows.

The question is how best to add an intermediate server to this setting. We are a small team, 3 developers, so we donโ€™t need too much / complicated solution. What I do not understand is how to redirect changes from our Subversion repository (which is located on one of the development machines) to an intermediate server or to a live server.

  • I read a lot about how people write hooks for this, but does this mean that we need to install Subversion on the intermediate server and on the real server? I would rather not do this.

  • I want to automatically upload files to an intermediate server when developers submit them to Subversion. How can I do that?

  • Then I need the automatic process of downloading files from an intermediate server to a Live server. This is the part that I really donโ€™t understand. Moreover, I do not want Subversion to be installed on Live. How is this usually done?

  • ALL ALL files from the staging server moved to Live? Or is there a way to just click those that have changed since the previous click?

  • Windows XAMPP , Live- - Linux, Linux, , , Windows, ? Linux? , .

  • , . Windows XAMPP ? Linux/Windows. ? ?

!

+3
2
  • . . .

  • , .

  • , . , . , " ", BuildBot. . , , .

  • Staging , QA. , , , .

  • XAMPP . google. , , , .

  • . .

0

1 2 post-commit subversion ( -), .

Re 3), , . , .

4, 5 6 , .

0

Source: https://habr.com/ru/post/1777975/


All Articles