Few small upgrades
This commit is contained in:
parent
fb4534db58
commit
cc644be0bc
1 changed files with 4 additions and 0 deletions
|
|
@ -4,6 +4,8 @@ This is the dbt project for the course.
|
||||||
|
|
||||||
## Set up
|
## Set up
|
||||||
|
|
||||||
|
Make a venv and install the requirements listed in `requirements.txt`.
|
||||||
|
|
||||||
You need to place a profile for the local postgres instance in `~/.dbt/profiles.yaml`. See below a sample config that should be a good starting point if you follow the instructions in the `database` dir of this project.
|
You need to place a profile for the local postgres instance in `~/.dbt/profiles.yaml`. See below a sample config that should be a good starting point if you follow the instructions in the `database` dir of this project.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
@ -25,6 +27,8 @@ dbtlearn:
|
||||||
|
|
||||||
Once you have set this up and the database as well, you can run `dbt debug` to ensure everything is set up correctly and dbt can reach the database.
|
Once you have set this up and the database as well, you can run `dbt debug` to ensure everything is set up correctly and dbt can reach the database.
|
||||||
|
|
||||||
|
To install the required dbt packages, run `dbt deps`.
|
||||||
|
|
||||||
You should also delete the lines under the `dbtlearn` key in the `dbt_project.yml` file.
|
You should also delete the lines under the `dbtlearn` key in the `dbt_project.yml` file.
|
||||||
|
|
||||||
Also delete the contents of the `models` folder.
|
Also delete the contents of the `models` folder.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue