We use a shell script wrapper for rsync for deployment with all
config values based on deployment type. Following the rsync, the
shell script automatically rewrites the appropriate deployment flag
in the config file.
On Jun 25, 2007, at 9:27 AM, Stephan Stapel wrote:
Hi!
I guess a lot of you have the problem to have code that is used
within multiple environments, a (local) environment for
development, another for testing and a third for production.
Usually, some things like database configuration differ between
these environments. I was asking myself if anyone has a smart
solution for a flexible configuration such that no additional files
have to be renamed/ moved when deploying.
If someone has a good solution, would he/she like to share it?
Regards,
Stephan