Keep source, config, and deploy files. Leave runtime data, uploads, and logs out of git. Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
539 B
Makefile
22 lines
539 B
Makefile
.DEFAULT_GOAL := help
|
|
|
|
.PHONY: infra up dev test help
|
|
|
|
infra: ## Start Mongo
|
|
docker compose -f docker/kamidso/docker-compose.yml up -d
|
|
|
|
up: ## Build and start Mongo and the API
|
|
docker compose up --build -d
|
|
|
|
dev: infra ## Run the API in the foreground
|
|
powershell -File scripts/start-backend.ps1
|
|
|
|
test: ## Run product tests
|
|
python -m pytest tests/kamidso -q
|
|
|
|
help: ## Show targets
|
|
@echo "infra Start Mongo"
|
|
@echo "up Build and start Mongo + API"
|
|
@echo "dev Run the API in the foreground"
|
|
@echo "test Run product tests"
|