31b743a97f400a9e5a08720e84c03f4917c0257e
The quart pin is required to fix an attribute error which otherwise occurs during startup. Hence, this should be a good qualifier to know when it's safe to upgrade. Note that this is not a problem in Quart, but in flask-WTForms. But downgrading flask-wtforms does not help [1], so we don't revert that uprade. ``` AttributeError: module 'quart.json' has no attribute 'JSONEncoder' ``` [1]: https://github.com/pallets/quart/issues/163
Snikket Web Portal
Development quickstart
$ direnv allow
$ cp example.env .env
$ $EDITOR .env # to adapt the configuration to your needs
$ pip install -r requirements.txt
$ pip install -r build-requirements.txt
$ make
$ quart run
Configuring
Purely via environment variables
For a list of required and understood environment variables as well as their
semantics, please refer to example.env.
Via python code
In addition to statically setting environment variables, it is possible to
initialise the environment variables in a python file. To do that, pass the
path to the python file as SNIKKET_WEB_PYENV environment variable.
The python file is evaluated before further environment variable processing takes place. Every name defined in that file which begins with an upper case ASCII letter is included in the processing of environment variables for configuration purposes.
For a (non-productive) example of such a file, see example.env.py.
Languages
Python
46.1%
HTML
34.7%
SCSS
13.3%
Jinja
2.9%
Shell
1%
Other
2%
