Skip to content

Commit

Permalink
Merge pull request #1 from analyst-collective/configs-and-docs
Browse files Browse the repository at this point in the history
Configs and docs
  • Loading branch information
Drew Banin committed Mar 16, 2016
2 parents 430d12a + 0e97e92 commit 2bb4b15
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,17 @@ From the root directory of this repository,
#### use

Create a `dbt_project.yml` file in the root of your source tree
following sample.dbt_project.yml.
following sample.dbt_project.yml. If you place the config file
in your root directory (~/.dbt/profiles.yml), be sure to subclass
your configuration paramters under `user`, eg:

```yml
user:
source-paths: [...]
...
outputs:
...
```
`dbt compile` to generate runnable SQL from model files

Expand Down
2 changes: 1 addition & 1 deletion sample.dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ outputs:
# best practice: specify outputs in your user profile
# located in ~/.dbt/profiles.yml to ensure credentials
# don't get checked in alongside your model code
password: password
pass: password
dbname: dev
schema: my_model_schema
run-target: my_redshift
Expand Down

0 comments on commit 2bb4b15

Please sign in to comment.