Linked Questions

Popular Questions

How do you manage different configuration files for different environments with single file name.

We've come up with some options, File are organized like

And on each environment we create a symlink that points to the correct file.

config.ini -> (on production environment)
config.ini -> config.test.ini (on test environment)
config.ini -> (on development environment)

The .py files reads only from config.ini. Our systems are written in python 3.x Is there a better way?

Related Questions