Skip to content

cowprotocol/dbt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aim of this repo

This is a collection of dbt projects maintained by the core team of CoW Protocol.

Local development

  1. create a new python environment
    python3 -m venv .venv
    source .venv/bin/activate

  2. install requirements
    pip3 install -r requirements.txt

  3. create a .env file and fill in your credentials like in the .env_example file

  4. load the environmental variables
    export $(cat .env | xargs)

  5. navigate to the folder where the dbt models and profiles are
    cd dbt_models/ all the dbt related commands need to be run from inside that folder

  6. Install dbt pacakages
    dbt deps

  7. run dbt
    dbt build --debug (optional e.g: --select stg_backend_data__competition_auctions)

  8. Run the isualization Interface dbt docs generate dbt docs serve

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •