some more changes
This commit is contained in:
21
Justfile
21
Justfile
@@ -1,17 +1,20 @@
|
||||
set dotenv-load
|
||||
|
||||
run_sling:
|
||||
run-scraper:
|
||||
bun run start
|
||||
|
||||
run-sling:
|
||||
docker run -it --rm \
|
||||
-v ${PWD}/replication.yaml:/replication.yaml \
|
||||
-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:
|
||||
docker run -it --rm \
|
||||
-v ${PWD}/replication.yaml:/replication.yaml \
|
||||
-v ${PWD}/storage:/storage \
|
||||
-e POSTGRES="postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST:$POSTGRES_PORT/$POSTGRES_DB?sslmode=disable" \
|
||||
--entrypoint bash \
|
||||
docker.io/slingdata/sling:v1.4.24
|
||||
run-dbt:
|
||||
cd dbt && dbt run --static-analysis off
|
||||
|
||||
run-all:
|
||||
just run-scraper
|
||||
just run-sling
|
||||
just run-dbt
|
||||
|
||||
Reference in New Issue
Block a user