repdav
Development
-
Prerequisites
- Python 3.8
- Docker 20.10
- Docker Compose 1.25
-
Create/activate virtual environment (ensure you use the correct python version!).
python -m venv venv . venv/bin/activate
-
Install requirements.
pip install $(cat requirements.txt requirements.dev.txt)
-
Configure the service by setting the following variables either in your environment or in the
docker-compose.yml
file.- host
- port
- tg_auth_wsdl
- tg_auth_address
-
Start the service.
python main.py
For your convenience, a Docker Compose setup is delivered with this repository that configures the service accordingly. Build and start the stack.
docker-compose up --build
Contributing
Commit convention:
Style constraints:
Coding constraints:
- Objects that are not supposed to be used outside the current scope MUST be named starting with
_
(underscore): PEP 316