Skip to content

Commit

Permalink
chore: 🔨 update dbt-docs cmd & adjust db path in dbt config
Browse files Browse the repository at this point in the history
Switch dbt docs generation to use 'uv' for better process management. Modify dbt development database path to use a direct path within 'data' directory.
  • Loading branch information
davidgasquez committed Nov 1, 2024
1 parent 3167462 commit 7ac49a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ setup:
. .venv/bin/activate

dbt-docs:
cd dbt && dbt docs generate --profiles-dir .
uv run dbt docs generate --profiles-dir dbt --project-dir dbt
mkdir -p dbt/target/docs
cp dbt/target/*.json dbt/target/index.html dbt/target/graph.gpickle dbt/target/docs/

Expand Down
2 changes: 1 addition & 1 deletion dbt/profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ default:
outputs:
dev:
type: duckdb
path: "{{ env_var('DATABASE_PATH', '../data/database.duckdb') }}"
path: "{{ env_var('DATABASE_PATH', 'data/database.duckdb') }}"
threads: 16
settings:
enable_object_cache: true
Expand Down

0 comments on commit 7ac49a0

Please sign in to comment.