Files
LegacyHUB/Makefile
Vadim Malanov 7f72171572 chore: bootstrap repository with governance docs
Initialize git, add Apache-2.0 LICENSE, .gitattributes (LF line
endings), AGENTS.md (entry points, stack, discovery order, baseline
checks), RUNBOOK.md (dev boot, prod deploy with overlay, ingestion,
failures, rollback, scaling notes), .env.prod.example with rotated
credential placeholders, and dev-only warnings on .env.example.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 16:41:50 +03:00

40 lines
913 B
Makefile

.PHONY: help up down logs build api worker init smoke test fmt lint
help:
@echo "make up - start all services"
@echo "make down - stop all services"
@echo "make build - rebuild api/worker image"
@echo "make init - run db migrations + bootstrap opensearch + qdrant"
@echo "make smoke - run the smoke test inside the api container"
@echo "make test - pytest"
@echo "make logs - tail api+worker logs"
up:
docker compose up -d --build
down:
docker compose down
build:
docker compose build api worker
logs:
docker compose logs -f api worker
init:
docker compose exec api python scripts/init_db.py
docker compose exec api python scripts/init_opensearch.py
docker compose exec api python scripts/init_qdrant.py
smoke:
docker compose exec api python scripts/smoke_test.py
test:
pytest -q
fmt:
ruff format app scripts tests
lint:
ruff check app scripts tests