Answer the question
In order to leave comments, you need to log in
Need a link to a question on a toaster?
There was a question here recently from a guy who supports several dozen sites on the same cms, and he asked how to update them centrally, can someone tell me a link to this question - there were very good answers.
Answer the question
In order to leave comments, you need to log in
I could not find it, but I myself asked about the same question: How to organize version control of two identical sites?
In that question, the answers were something like for each site to create a repository and push to each of them separately.
I have the following thing: a system on which the sites of various institutions are based. There is only one code, but inside there are a lot of possibilities for personalizing the site. Development is going on on my servers, the last of which has a script that generates the so-called "updates", i.e. there is versioning.
All client sites have the functionality to check for these same updates. At the same time, if more than one update has been released since the last check, then they are naturally concatenated in the correct order. Each update includes (generally) 3 types of data: files, sql updates, add. instructions in your format (delete / create folder, set / remove rights, etc.)
Actually, how these updates are installed: when the site admin presses the "check for availability" button and then "install", he is prompted to enter the FTP data where this site is located. And then the script built into the system, 1) merges updates from my server; 2) uploads them to the desired folder on the specified FTP; 3) unpacks (puts everything where necessary); 4) performs sql dump (if any); 5) executes included instructions (if any).
Something like that. Why actually through FTP? Well, I think, and it's so obvious, scripts are unlikely to have rights on shared hosting to overwrite themselves or neighboring ones.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question