Skip to content

Commit

Permalink
James/project and packages (#10)
Browse files Browse the repository at this point in the history
* add readme, project and package dependencies

* try to make the dependencies section prettier

* use shields api and query strings

* use a nicer packground colour for the readme dependencies
  • Loading branch information
jpmmcneill authored Jul 17, 2022
1 parent b6296ba commit 0756b10
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 28 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# dbt-graph-theory

[![](https://img.shields.io/static/v1?label=dbt-core&message=1.0.0&logo=dbt&logoColor=FF694B&labelColor=5c5c5c&color=047377&style=for-the-badge)](https://github.com/dbt-labs/dbt-core)
[![](https://img.shields.io/static/v1?label=dbt-utils&message=0.8.0&logo=dbt&logoColor=FF694B&labelColor=5c5c5c&color=047377&style=for-the-badge)](https://github.com/dbt-labs/dbt-utils/)

README structure inspired by dbt-date and dbt-expectations.

A DBT package designed to help SQL based analysis of graphs.
Expand Down
3 changes: 3 additions & 0 deletions dbt_packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
packages:
- package: dbt-labs/dbt_utils
version: [">=0.8.0", "<1.0.0"]
33 changes: 5 additions & 28 deletions dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,13 @@
# and underscores. A good package name should reflect your organization's
# name or the intended use of these models
name: 'dbt_graph_theory'
version: '1.0.0'
version: '0.1.0'
config-version: 2
require-dbt-version: [">=1.0.0", "<2.0.0"]

# This setting configures which "profile" dbt uses for this project.
profile: 'dbt_graph_theory'

# These configurations specify where dbt should look for different types of files.
# The `model-paths` config, for example, states that models in this project can be
# found in the "models/" directory. You probably won't need to change these!
model-paths: ["models"]
analysis-paths: ["analyses"]
test-paths: ["tests"]
seed-paths: ["seeds"]
macro-paths: ["macros"]
snapshot-paths: ["snapshots"]

target-path: "target" # directory which will store compiled SQL files
clean-targets: # directories to be removed by `dbt clean`
- "target"
- "dbt_packages"


# Configuring models
# Full documentation: https://docs.getdbt.com/docs/configuring-models
target-path: "target"
clean-targets: ["target", "dbt_modules", "dbt_packages"]
log-path: "logs"

# In this example config, we tell dbt to build all models in the example/ directory
# as tables. These settings can be overridden in the individual model files
# using the `{{ config(...) }}` macro.
models:
dbt_graph_theory:
# Config indicated by + and applies to all files under models/example/
example:
+materialized: view

0 comments on commit 0756b10

Please sign in to comment.