Skip to content

Commit

Permalink
🔧 Add poetry setup files
Browse files Browse the repository at this point in the history
  • Loading branch information
jurrigerretsen committed Jan 16, 2024
1 parent af2ff3d commit 04c7036
Show file tree
Hide file tree
Showing 4 changed files with 1,560 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
target/
dbt_modules/
dbt_packages/
logs/
.venv
.env
.DS_Store
package-lock.yml
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!make
.PHONY: help poetry dbt
.DEFAULT_GOAL := help

# Initialisation recipes
poetry: ## Install poetry
@if ! command -v poetry; then\
curl -sSL https://install.python-poetry.org | python3 -;\
fi
poetry install --directory ../

# dbt Development recipes
dbt: poetry ## Start a dbt shell
export DBT_PROFILES_DIR=~/.dbt/ && export SHELL=/bin/zsh && poetry shell
Loading

0 comments on commit 04c7036

Please sign in to comment.