Can now load settings from environment variables GH-10

This commit is contained in:
Krateng 2020-02-28 16:22:57 +01:00
parent d4b66ec673
commit 83f73758c4
2 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@ versionstr = ".".join(str(n) for n in version)
requires = [
"bottle>=0.12.16",
"waitress>=1.3",
"doreah>=1.4.5",
"doreah>=1.5.2",
"nimrodel>=0.6.3",
"setproctitle>=1.1.10",
"wand>=0.5.4",

View File

@ -33,7 +33,8 @@ config(
"files":[
datadir("settings/default.ini"),
datadir("settings/settings.ini")
]
],
"environ_prefix":"MALOJA_"
},
caching={
"folder": datadir("cache")