In Yii2 Advanced Project Template, how to avoid service interruption during manual configuration of config file after executing init command in production environment?
1. In the end, it is decided to use the same commit ID first, and in the local environment, after executing the init prod command. as shown in Figure 1
2. The files that have been overwritten are sorted out the corresponding directory structure, including config and web. as shown in Figure 2
3. Then modify the corresponding configuration items in the config directory to the configuration items of the production environment. Finally, it covers the production environment. Then deploy a brand new code (if it’s pulled through git to pull the code, you might be prompted to temporarily store and then pop up).

