maintaining configuration differences between dev and live environments during deployment from SVN

后端 未结 4 731
陌清茗
陌清茗 2021-02-10 13:41

We use the ExpressionEngine CMS (php) to create websites. For each site, we set up a subversion repository and commit the EE installation as well as any custom templates, images

4条回答
  •  面向向阳花
    2021-02-10 14:45

    I deal with this problem by adding configuration file to Subversion ignore list. It was already addressed here on Stackoverflow: see question #149485

    Basically, I only keep setup.default.php in SVN, and in every installation I manually copy it to setup.php which is on ignore list. This prevents the file to be checked back in to the repo. There are rarely changes to this file and can be handled as the requirement occurs.

提交回复
热议问题