21 lines
528 B
Makefile
21 lines
528 B
Makefile
set dotenv-load
|
|
|
|
run-scraper:
|
|
bun run start
|
|
|
|
run-sling:
|
|
docker run -it --rm \
|
|
-v ${PWD}/sling/replication.yaml:/replication.yaml \
|
|
-v ${PWD}/storage:/storage \
|
|
-e POSTGRES="postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST:$POSTGRES_PORT/$POSTGRES_DB?sslmode=disable" \
|
|
-e SLING_DISABLE_TELEMETRY=true \
|
|
docker.io/slingdata/sling run -r /replication.yaml
|
|
|
|
run-dbt:
|
|
cd dbt && dbt run --static-analysis off
|
|
|
|
run-all:
|
|
just run-scraper
|
|
just run-sling
|
|
just run-dbt
|