This webservice exposes an Escrow API, so that Witness Angel devices may safely encrypt and sign their data in write-only mode.
The interpreter for python3.7 (see pyproject.toml for full version) must be installed.
Instead of pip, we use poetry to manage dependencies.
Use pip install poetry to install poetry (or follow its official docs to install it system-wide).
Use poetry install to install python dependencies (poetry will create its own virtualenv if you don't have one activated).
Use pytest to launch unit-tests (its default arguments are in setup.cfg); you might need to add the "src/" directory of this repository to your pythonpath, until a better way to early-setup python paths is found. Use poetry run pytest instead, if poetry created its own virtualenv.
Use bash ci.sh to do a full checkup before committing or pushing your changes.
Use the Black formatter to format your python code.
Use python manage.py runserver, or other standard Django management commands, to interact with the server application.