pixi
can be installed on a *nix system using the following command:
curl -fsSL https://pixi.sh/install.sh | sh
We can then run Dyno's web server using:
pixi run solara run t_dyno.py
In order to run the development environment (including but not limited to documentation and unit tests), one must first install poetry
with the following command:
curl -sSL https://install.python-poetry.org | python3 -
The installation script creates a poetry
binary which must be added to PATH
as shown in the script output.
We can then install Dyno's dependencies using:
poetry install
Our poetry
configuration doesn't allow us to run Dyno's web server as before, but we can run mkdocs
:
poetry run mkdocs serve
as well as unit and coverage tests:
poetry run pytest --cov=dyno tests/
Finally, types can be checked with mypy
:
poetry run mypy dyno --ignore-missing-imports