The DOML Model Checker is a component of the PIACERE framework in charge of checking the correctness and consistency of DOML models.
This project is packaged with Poetry.
Build with
poetry installthen run with
poetry run python -m mc_openapiRun tests with:
poetry run python -m pytestThe project may be run with Uvicorn as follows:
uvicorn --port 8080 --host 0.0.0.0 --interface wsgi --workers 2 mc_openapi.app_config:appFirst, build the docker image with the usual
docker build -t wp4/dmc .And then run it with
docker run -d wp4/dmcThe Uvicorn server will be running and listening on port 80 of the container.
To use it locally, you may e.g. bind it with port 8080 of localhost
by adding -p 127.0.0.1:8080:80/tcp to the docker run command.
The documentation has been written in Sphinx and covers both usage through the PIACERE IDE and the REST APIs.
To build it, type
poetry shelland then
cd docs
make htmlThe documentation will be generated in docs/_build.