EnigmaCurry/blogofile

Support for multiple config files

ianmarcinkowski opened this issue · 2 comments

When working with multiple deployment locations, having a single config file is rather frustrating. It would be nice to have _production.py, _staging.py, _development.py config files to solve this problem.

I am trying to integrate blogofile in to a production environment where I automatically stage all changes made to the repository, with periodic releases to a production web server.

Adding a --config-file parameter to the blogofile command would also allow the site to be built using different configurations.

This may be too complex for a project like Blogofile, which aims for simplicity, but the change would not impact users who do not need the feature.

Looking at the code, it looks like "_config.py" is hardcoded in quite a few places.

Oops. Accidentally closed the issue. Re-opening.