Before workshop#
Clone dbt demo project -> strvcom/dbt-workshop and navigate to
dbt-demo
folder, 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-demo
folder, rundocker-compose up
which 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:
PostgreSQL
Server:
database
Username:
postgres
Password:
postgres
Database:
datawarehouse
You should see the following screen:
Change
Schema
in the upper left corner toraw
to see already loaded jaffle_shop data