Example of Python logging integrated with Postgres
Copy env file
cp -n .env.example .env
Create new venv
python3 -m venv ./venv
Activate venv
. ./venv/bin/activate
Install needed dependencies
pip install -r requirements/dev.txt
sudo apt-get install libpq-dev
Run postgres / pgadmin
docker compose up
Write dummy log
python3 ./src/main.py