[TYPO3-dev] Deploy localconf.php from test to live system

Steffen Müller typo3 at t3node.com
Wed Oct 27 16:30:49 CEST 2010


Hi,

I am looking for a smooth way to deploy localconf.php.

My situation is:
1. some settings are system specific, e.g. different lists of installed
extensions and DB settings for live and testing)
2. some settings are the same on all systems

I use git for rolling out changes.

Solution A:
Using git for the rollout, also including localconf.php in git.
All system specific settings are in ext_localconf.php of a dedicated
configuration extension. This extension overrides the settings of
localconf.php and is not deployed with git (via gitignore).

Drawback: $TYPO3_CONF_VARS['EXT']['extList'] cannot be covered by this
scenario and needs manual action.

Solution B:
Keep localconf.php out of git and change settings manually on each
rollout - which is the drawback here.

I'd prefer to use solution A. But I don't see a way here to have
separate entries for $TYPO3_CONF_VARS['EXT']['extList'].

Do you have any ideas?

-- 
cheers,
Steffen

Twitter: @t3node - http://twitter.com/t3node
TYPO3 Blog: http://www.t3node.com/




More information about the TYPO3-dev mailing list