| 
				
					
						
							 | 
			||
|---|---|---|
| macros | ||
| models/generated | ||
| Makefile | ||
| README.md | ||
| dbt_project.yml | ||
| destination_catalog.json | ||
| destination_config.json | ||
| packages.yml | ||
| profiles.yml | ||
		
			
				
				README.md
			
		
		
			
			
		
	
	Installing dbt
- Activate your venv and run 
pip3 install dbt - Copy 
airbyte-normalization/sample_files/profiles.ymlover to~/.dbt/profiles.yml - Edit to configure your profiles accordingly
 
Running dbt
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 
Running dbt from Airbyte generated config
- You can also change directory (
cd /tmp/dev_root/workspace/1/0/normalizefor example) to one of the workspace generated by Airbyte within one of thenormalizefolder. - You should find 
profiles.ymland 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 
.sqlfiles and rundbt run --profiles-dir=$(pwd) --project-dir=$(pwd)too - You can inspect compiled dbt 
.sqlfiles before they are run in the destination engine innormalize/build/compiledornormalize/build/runfolders