- pull down the repo
- create a pyton virtual env using python 3.10 (optional)
virtualenv -p python3 venvORpython3 -m venv venv. venv/bin/activate
- pip install requirements
pip install -r requirements.txt
- you will also need a
profiles.ymlfile in your~/.dbtdirectory that looks like this (ask Melissa for the values):
dbtlearn:
outputs:
dev:
account: [Snowflake Account String]
database: airbnb
password: [password]
role: transform
schema: dev
threads: 4
type: snowflake
user: dbt
warehouse: COMPUTE_WH
target: dev
- dbt test - to test any changes to models
- dbt run - to rebuild models when changed
- optionally use the select switch to target only specific models:
dbt run --select [model name]
- accessing documentation (until I have it hosted)
dbt docs generatedbt docs serve
- Learn more about dbt in the docs
- Check out Discourse for commonly asked questions and answers
- Join the chat on Slack for live discussions and support
- Check out the blog for the latest news on dbt's development and best practices