Go to file
Jose M. Guisado b708047d28 config: use from_json to read ogserver config
This patch introduces the usage of Flask.Config class so the config can
be read at startup (__init__) only once. Config keys must be uppercase
so that from_json method does take it into account.

 dormousehole.readthedocs.io/en/stable/api.html#flask.Config.from_json

Prior to this patch each request required opening and closing the
ogserver.json file via load_config in views.py.

In the future the decorated load_config function inside views.py
may be removed to avoid creating multiple instances of the OGServer
class.
2020-11-06 09:27:03 +00:00
ogcp config: use from_json to read ogserver config 2020-11-06 09:27:03 +00:00
.gitignore Add gitignore 2020-08-28 10:18:43 +02:00
requirements.txt Add WoL action 2020-09-04 11:09:44 +02:00
run_test.sh Add run_test.sh script 2020-10-27 10:38:56 +01:00