More flexible, less error-prone configuration system.

WARNING: make a backup copy of your local config.py before pulling
this change, as Git will overwrite it without warning.

The configuration defaults to deployment settings, allowing overrides.
Overrides are read from config_local.py and from the file pointed to
by the PILLAR_CONFIG env var.
This commit is contained in:
2016-04-04 14:59:11 +02:00
parent a1930c63d0
commit 465b145609
7 changed files with 108 additions and 115 deletions

4
.gitignore vendored
View File

@@ -5,11 +5,11 @@
*.ropeproject*
*.swp
config.py
/pillar/config_local.py
.ropeproject/*
pillar/application/static/storage/
/pillar/application/static/storage/
/build
/.cache
/pillar/pillar.egg-info/