LoRa to MQTT gateway.
sudo apt install gcc g++ python3-dev
This repository uses pre-commit git hook management tool.
Install system dependencies.
sudo apt install gcc g++ python3.10-dev
Use a Python Virtual Environment and install project dependencies in it.
python3 -m venv .venv --prompt lora2mqtt
python3 -m pip install requirements-dev.txt
Activate the Python Virtual Environment.
source .venv/bin/activate
Install pre-commit git hook.
pre-commit install
pre-commit run --all-files
python3 -m pytest
python3 -m pytest