Skip to content

Latest commit

 

History

History

dbt-jaffle-shop

dbt jaffle_shop

References

Setup

  • dbt
    • go to the jaffle_shop directory
      jaffle_shop:
          outputs:
      
              dev:
                  type: duckdb
                  path: '[give duckdb file path here]' # '/Users/cyyeh/Desktop/vulcan-sql-examples/dbt-jaffle-shop/jaffle_shop/jaffle_shop.db'
              prod:
                  type: postgres
                  threads: [1 or more]
                  host: [host]
                  port: [port]
                  user: [prod_username]
                  pass: [prod_password]
                  dbname: [dbname]
                  schema: [prod_schema]
      
          target: dev
      • poetry run dbt seed
      • poetry run dbt run
  • VulcanSQL
    • it's installed globally via npm
    • go to the root of the project directory
      • npm install
      • vulcan start --watch
      • vulcan catalog