This repository contains the source code for my post "How we mastered dbt: A true story"
-
You should have a Firebolt account
-
Install Docker
-
Install Python and requirements.txt
pip install -r requirements.txt
-
Create .env file in the root folder and fill the following variables:
FIREBOLT_PASSWORD= FIREBOLT_DATABASE= FIREBOLT_DATABASE_HOST= LOCAL_SCHEMA=dev FIREBOLT_ACCOUNT_NAME= FIREBOLT_ENGINE=
-
Export it.
export $(grep -v '^#' .env | xargs)
-
Be sure that your Firebolt engine is running
-
Check the connection
dbt debug
-
Run models
dbt run
-
Install Docker Desktop and run it
-
Build docker image
docker build --tag dbt_project .
-
Run any dbt command
docker run -it --env-file .env --publish 8080:8080 dbt_project dbt debug
docker run -it --env-file .env --publish 8080:8080 dbt_project dbt run