Create your virtual environment to ensure that you have the same python version and packages installed as the other developers.
conda create -n 5gla-sensor-integration-script python=3.11
conda activate 5gla-sensor-integration-script
pip install -r requirements.txt
For Windows you could use Anaconda or Miniconda. For Linux you could use Miniconda. There are several installation guides on the internet.
To run the test cases and the other parts of the script, you need to define the API key and the API url to access the 5GLa API. You can set the following environment variables:
Variable | Description |
---|---|
API_KEY | The API key to access the 5GLa API. |
API_URL | The URL to access the 5GLa API. |
There are currently two stages to access the 5GLa API:
Stage | URL |
---|---|
DEV | https://api.dev.5gla.de/api/v1/ |
QA | https://api.qa.5gla.de/api/v1/ |
If you need an API, please have a look at the configuration for the stages. You can find the API key in the private GIT repository.