dbt models for jaffle-shop
- Clone this github repo
- Install dbt following these instructions
- Ask your database administrator for a set of snowflake credentials. Your database administrator should run the following statements from a super user account to create your account.
create user <user>
password = '<generate_this>'
default_warehouse = transforming
default_role = transformer;
- Copy the example profile to your
~/.dbt
folder (created when installing dbt):
$ cp ./sample.profiles.yml ~/.dbt/profiles.yml
- Populate
~/.dbt/profiles.yml
with the credentials you obtained in step 3:
open ~/.dbt
- Verify that you can connect to your database
$ dbt debug
- Verify that you can run dbt
$ dbt run
This project follows Fishtown Analytics' coding conventions and git guide.
This project follows the structure set out in this article.