diff --git a/.devcontainer.json b/.devcontainer.json index f08a856..9eb3be3 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -24,7 +24,7 @@ "8888": { "label": "JupyterLab" }, - "8080": { + "8070": { "label": "pgAdmin" }, "9001": { @@ -34,6 +34,6 @@ "label": "Postgres" } }, - "forwardPorts": [8888, 8080, 9001, 5432], + "forwardPorts": [8888, 8070, 9001, 5432], "postCreateCommand": "make run-all-data-pipelines" -} \ No newline at end of file +} diff --git a/Makefile b/Makefile index defda67..f1def9c 100644 --- a/Makefile +++ b/Makefile @@ -229,7 +229,11 @@ dbt-compile: dbt-docs-generate: @docker compose exec dbtbase /venv/bin/dbt docs generate --project-dir /apps/dbt_project +# Serve dbt documentation +dbt-docs-serve: + @docker compose exec dbtbase /venv/bin/dbt docs serve --project-dir /apps/dbt_project + # Verify dbt transformed data in DuckDB verify-dbt: @docker compose exec dbtbase /usr/local/bin/duckdb /apps/dbt.duckdb \ - -c "SELECT 'staging.stg_claims' as model, COUNT(*) as row_count FROM staging.stg_claims UNION ALL SELECT 'marts.fct_claims_summary', COUNT(*) FROM marts.fct_claims_summary;" \ No newline at end of file + -c "SELECT 'staging.stg_claims' as model, COUNT(*) as row_count FROM staging.stg_claims UNION ALL SELECT 'marts.fct_claims_summary', COUNT(*) FROM marts.fct_claims_summary;"