Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Latest commit

 

History

History
37 lines (25 loc) · 819 Bytes

building.md

File metadata and controls

37 lines (25 loc) · 819 Bytes

Building ORM from source

Dependencies

To build ORM and run the included unit tests the following dependencies are needed:

  • make
  • python (only tested with python3)
  • virtualenv

Optional components

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.

Build python package

In the top directory, run:

foo@bar $ make dist

Build docker images

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.

Build ORM deployment image (LXD)

In the top directory, run:

foo@bar $ make build-orm-deployment