- Python
-
Create a virtual environment
python -m venv .venv
-
Activate the python virtual environent
linux/mac:
source .venv/bin/activate
windows:
.venv\scripts\activate.ps1
-
Install dependencies from requirements file
pip install -r requirements.txt
-
Create a
.env
file from the template and fill the required variables in the .envContact NGI to obtain a client id and secret if you don't have one.
Linux/mac:
cp .env.template .env
Fill the required parameters, for example:
KEYCLOAK_CLIENT_ID=your-client # your client id KEYCLOAK_CLIENT_SECRET=abcsasdkjhadkjjd # your client secret PROJECT_ID=20241234 # Project number
python demo.py