Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 866 Bytes

README.md

File metadata and controls

42 lines (29 loc) · 866 Bytes

Mara dbt

A integration of dbt into the Mara Framework.

 

Installation

To use the library directly:

pip install mara-dbt

dbt Project inside the Mara project

You can choose to use a dbt project inside the mara project. To do so, add the following to your .gitignore file

# dbt
/.dbt/.user.yml
/.dbt/logs/
/.dbt/profiles.yml
/.dbt/target/
/dbt/dbt_modules/

and import mara_dbt in your app/__init__.py file to make sure that the cli commands are recognized by your mara app.

Then execute the following shell commands in order to complete the installation:

source .venv/bin/activate
flask mara_dbt.setup

When using a git repository you should commit the files shown in git status.