A integration of dbt into the Mara Framework.
To use the library directly:
pip install mara-dbt
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
.