From 49519a7e9aaafbffdf270891ab8fa32bde467e98 Mon Sep 17 00:00:00 2001 From: Jacob Matson Date: Sun, 21 Apr 2024 00:28:27 +0000 Subject: [PATCH] maybe fixed --- .devcontainer/devcontainer.json | 4 ++-- Makefile | 13 ++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 7f2fa89..eec945c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -48,10 +48,10 @@ // "forwardPorts": [], // Uncomment the next line to run commands after the container is created - for example installing curl. - "postCreateCommand": "make build", + "postCreateCommand": "make build" // Uncomment when using a ptrace-based debugger like C++, Go, and Rust // "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ], - "remoteUser": "root" + // "remoteUser": "root" } diff --git a/Makefile b/Makefile index 35dda44..e2e4449 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,15 @@ -build: - pip install uv - uv pip install --system -r requirements.txt - cd transform && dbt deps +install-uv: + sudo pip install uv + sudo uv pip install --system -r requirements.txt + +build: install-uv + cd transform && sudo dbt deps cd evidence && npm install mkdir -p data/data_catalog/raw mkdir -p data/data_catalog/prep mkdir -p data/data_catalog/simulator mkdir -p data/data_catalog/analysis -activate: - source .venv/bin/activate - run: cd dlt && python3 nba_pipeline.py cd transform && dbt build