Alpine-based image (59MB), source and config bind-mounted via compose.yaml. Host networking for access to local Tor nodes.
29 lines
364 B
Makefile
29 lines
364 B
Makefile
APP_NAME := s5p
|
|
|
|
.PHONY: install test lint clean build up down logs
|
|
|
|
install:
|
|
pip install -e .
|
|
|
|
test:
|
|
pytest tests/ -v
|
|
|
|
lint:
|
|
ruff check src/ tests/
|
|
|
|
clean:
|
|
rm -rf build/ dist/ src/*.egg-info
|
|
find . -type d -name __pycache__ -exec rm -rf {} +
|
|
|
|
build:
|
|
podman-compose build
|
|
|
|
up:
|
|
podman-compose up -d
|
|
|
|
down:
|
|
podman-compose down
|
|
|
|
logs:
|
|
podman-compose logs -f
|