on the server if we wanted to make a change to the output file, does this mean that we should stop the site and run the new output file again on the server?
For example, we run the site with the following command :
./siteV1
Now, for example, we made some changes to the site and created a new output file. Should the previous command be stopped and the new command executed?
./siteV2
Is this method correct or should it be used in another way?
yes that's the way of doing it, if you also want zero downtime you usually have a load balancer in front of them, and you switch from one to the other before shutting down the first one
Обсуждают сегодня