Installation

This page explains how to setup your environment to develop the p4lantir’s source code and documentation.

Development

  • Install the dev dependencies at the system-levevl

  • Fork the github repository to your account and clone it

  • Setup the virtual-environment for python

  • Install the python dev dependencies

 1# Uncomment one of the following lines
 2# apt update && apt install dsniff iptables
 3# pacman -S dsniff iptables
 4
 5git clone [url of your fork]
 6cd p4lantir
 7
 8python3 -m venv venv
 9source venv/bin/activate
10pip install -r requirements-dev.txt

Documentation

All the files related to this documentation are under the directory doc/source. To compile the documentation, you need to first follow the instructions in the previous development section (except that you do not have to install the system-level dependencies). Then you can run :

1cd doc
2make html

This will generate the code-documentation in HTML format.