Skip to content

Auto-generated data documentation site for dbt projects

License

Notifications You must be signed in to change notification settings

brocolidata/dbt-docs

 
 

Repository files navigation

dbt docs

dbt helps analysts write reliable, modular code using a workflow that closely mirrors software development.

This repository contains code for generating a Data Catalog site for dbt projects in Brocoli flavor. Check out the dbt documentation for more information.


Quickstart

  1. Clone repo
  2. Duplicate the .env.example , rename it to .env and replace dummy values with yours
  3. Click on Open a Remote Window button (left-down corner) & select Reopen in Container
  4. Wait while your Development Environment is being built (it may take some time)

Development workflow

Showing dbt docs

In your dbt project, run dbt docs generate then dbt docs serve.

Development

After cloning this repository, run:

git submodule update --init --recursive

You'll also need to install bundler if you don't already have it:

gem install bundler
bundle install

Build / Run

To build the css files required for webpack:

cd styles
bundle exec jekyll build
cd -

To build an index.html file:

npm install
npx webpack

To run the dev server, first copy your manifest.json and catalog.json files to the src/ directory. Then run:

npm install
npm start

Release Brocoli Data Catalog

See Release Brocoli Data Catalog

About

Auto-generated data documentation site for dbt projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 67.4%
  • HTML 31.1%
  • CSS 0.8%
  • Dockerfile 0.2%
  • Python 0.2%
  • Makefile 0.1%
  • Other 0.2%