Skip to content

analyticsengineersclub/sample-dbt-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coffee-shop-dbt

This is a sample project used for Analytics Engineers Club

Running this project locally

  1. Clone this github repo
  2. Install dbt following these instructions
  3. Auth your gcloud account with gcloud auth application-default login
  4. Copy the example profile to your ~/.dbt folder (created when installing dbt):
$ cp ./sample.profiles.yml ~/.dbt/profiles.yml
  1. Populate ~/.dbt/profiles.yml with the credentials you obtained in step 3:
$ code ~/.dbt/profiles.yml
  1. Verify that you can connect to your database
$ dbt debug
  1. Verify that you can run dbt
$ dbt run
  1. Verify that all the test pass
$ dbt test
  1. Generate the docs for the project
$ dbt docs generate
  1. Serve the docs for the project
$ dbt docs serve

About

Sample dbt project referenced in the dbt lesson

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published