- Activate your venv and run
pip3 install dbt
- Copy
airbyte-normalization/sample_files/profiles.yml
over to~/.dbt/profiles.yml
- Edit to configure your profiles accordingly
cd airbyte-normalization
- You can now run dbt commands, to check the setup is fine:
dbt debug
- To build the dbt tables in your warehouse:
dbt run
- You can also change directory (
cd /tmp/dev_root/workspace/1/0/normalize
for example) to one of the workspace generated by Airbyte within one of thenormalize
folder. - You should find
profiles.yml
and a bunch of other dbt files/folders created there. - To check everything is setup properly:
dbt debug --profiles-dir=$(pwd) --project-dir=$(pwd)
- You can modify the
.sql
files and rundbt run --profiles-dir=$(pwd) --project-dir=$(pwd)
too - You can inspect compiled dbt
.sql
files before they are run in the destination engine innormalize/build/compiled
ornormalize/build/run
folders