Before workshop#
Clone dbt demo project -> strvcom/dbt-workshop and navigate to
dbt-demofolder, which contains following:dbt project
postgres database
sample data from jaffle_shop (already loaded in postgres db)
tables: customers, orders, payments
sample google analytics events data with traffic (.csv file in seeds folder within dbt folder)
Make sure to have Docker Desktop running on your machine.
Once you are in
dbt-demofolder, rundocker-compose upwhich will download all images needed and start three containers:dbt-workshop-db- postgres server as our data warehousedbt- container where to run dbt commanddbt-workshop-adminer- container with adminer, simple SQL IDE available on localhost:8080
Log into the adminer to confirm everything is running:
System:
PostgreSQLServer:
databaseUsername:
postgresPassword:
postgresDatabase:
datawarehouse
You should see the following screen:

Change
Schemain the upper left corner torawto see already loaded jaffle_shop data