Skip to content

Getting started

Dependencies

The platform uses RabbitMQ as the message broker and PostgreSQL as the default database.

It is recommended to install Docker to use these tools.

Python dependencies

It is recomended, but not mandatory, to create a virtual environment to install the requirements. The following code describes the process of creating a virtual env and installing the dependencies.

Using pip
$ python3 -m venv /path/to/virtual_env
$ source /path/to/virtual_env/bin/activate
$ pip install -r requirements.txt
$ deactivate # To exit the virtual environment
Using poetry
$ cd /path/to/SRAMPlatform
$ poetry install

To connect and handle the connection to RabbitMQ, the library Fenneq is needed. It can be installed with the following commands.

Installing fenneq
$ git clone https://github.com/servinagrero/fenneq.git && cd fenneq
$ poetry install # or pip install