meltano-playground/Makefile

25 lines
602 B
Makefile
Raw Permalink Normal View History

2025-07-24 18:04:49 +02:00
APP_DB_VOLUME=app-db-data
DW_DB_VOLUME=dw-db-data
COMPOSE_FILE=docker-compose.yml
.PHONY: start stop reset
start:
docker compose -f $(COMPOSE_FILE) up -d
stop:
docker compose -f $(COMPOSE_FILE) down
reset: stop
@echo "Removing volumes..."
docker volume rm -f $(APP_DB_VOLUME) $(DW_DB_VOLUME)
@echo "Volumes removed. You can now start fresh with 'make start'"
2025-07-24 23:10:08 +02:00
run-rust:
cargo build --manifest-path rust/Cargo.toml
cargo run --manifest-path rust/Cargo.toml
setup-meltano-deps:
meltano init pizza_dw
cd pizza_dw && meltano add extractor tap-postgres && meltano add loader target-postgres