34 lines
595 B
Makefile
34 lines
595 B
Makefile
SHELL := /bin/bash
|
|
|
|
COMPOSE = docker compose -f infra/compose/docker-compose.yml
|
|
PROFILES = --profile farmos --profile thingsboard --profile nats --profile integration
|
|
|
|
.PHONY: up down reset logs seed test phase6-smoke
|
|
|
|
up:
|
|
$(COMPOSE) $(PROFILES) up -d --build
|
|
|
|
down:
|
|
$(COMPOSE) down
|
|
|
|
reset:
|
|
$(COMPOSE) $(PROFILES) down -v
|
|
|
|
logs:
|
|
$(COMPOSE) $(PROFILES) logs -f --tail=200
|
|
|
|
seed:
|
|
python3 scripts/demo_telemetry.py
|
|
|
|
test:
|
|
python3 -m pytest -q
|
|
|
|
phase6-smoke:
|
|
./ops/smoke_phase6.sh
|
|
|
|
replay-dlq:
|
|
python3 scripts/replay_dlq.py
|
|
|
|
up-ui:
|
|
$(COMPOSE) $(PROFILES) --profile farmos_ui up -d --build
|