check-deps: @echo "Checking system dependencies..." @command -v openssl > /dev/null || (echo "OpenSSL cli is not installed."; exit 1) @echo "System dependencies met." .PHONEY: check-deps # https://mosquitto.org/man/mosquitto-tls-7.html # FOR LOCAL DEV ONLY! These certs do not use encryption. Use let's encrypt or a real cert. gen-local-tls-certs: ./scripts/gen-local-tls-certs.sh .PHONEY: gen-local-tls-certs start-dev: docker compose up -d .PHONEY: start-dev stop-dev: docker compose down .PHONEY: stop-dev install-dev-deps: python3 -m pip install pre-commit .PHONEY: install-dev-dep run-pub: go run ./cmd/publisher/main.go .PHONEY: run-pub run-sub: go run ./cmd/subscriber/main.go .PHONEY: run-sub dev-logs: docker logs mosquitto -f .PHONEY: dev-logs test: go test -v ./...