To build ORM and run the included unit tests the following dependencies are needed:
- make
- python (only tested with python3)
- virtualenv
LXD
is needed to build the ORM deployment image and to run the deployment tests.
docker
is needed to build and distribute the docker images.
In the top directory, run:
foo@bar $ make dist
In the top directory, run:
foo@bar $ make build-docker
Two docker images are built, each using a different interpreter: One with python
and one with pypy
. The rule validation is much faster with the pypy
image.
In the top directory, run:
foo@bar $ make build-orm-deployment