Initial commit — StreamStack v1
Five-service streaming platform: auth, catalogue, streaming, ingest, thumbnailer. Includes React frontend served by nginx, NATS JetStream event bus, aiobotocore async S3, PyAV video metadata + thumbnail extraction, service-to-service JWT auth, and a full unit + e2e test suite.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
.PHONY: test lint lint-fix up down up-test down-test migrate migration
|
||||
|
||||
test:
|
||||
uv run --extra dev pytest tests/ -v --cov=src/streamstack --cov-report=term-missing
|
||||
|
||||
lint:
|
||||
uv run --extra lint ruff check src/ tests/
|
||||
uv run --extra lint ruff format --check src/ tests/
|
||||
|
||||
lint-fix:
|
||||
uv run --extra lint ruff check --fix src/ tests/
|
||||
uv run --extra lint ruff format src/ tests/
|
||||
|
||||
up:
|
||||
docker compose up -d --build
|
||||
|
||||
down:
|
||||
docker compose down -v
|
||||
|
||||
up-test:
|
||||
docker compose -f docker-compose.test.yml up --build --abort-on-container-exit
|
||||
|
||||
down-test:
|
||||
docker compose -f docker-compose.test.yml down -v
|
||||
|
||||
migrate:
|
||||
uv run alembic upgrade head
|
||||
|
||||
migration:
|
||||
uv run alembic revision --autogenerate -m "$(MSG)"
|
||||
Reference in New Issue
Block a user