-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (22 loc) · 706 Bytes
/
Makefile
File metadata and controls
28 lines (22 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.PHONY: install dev sync notebook venv venv-win
install:
@if [ ! -d .venv ]; then uv venv; fi
uv sync --extra notebook
@mkdir -p logs data/landing data/clean data/exports
@if [ ! -f .env ]; then cp .env.example .env && echo "Created .env from .env.example — edit it with your API keys"; else echo ".env already exists"; fi
@echo ""
@echo "Setup complete. Activate venv and run:"
@echo " source .venv/bin/activate"
@echo " make dev"
venv:
@if [ ! -d .venv ]; then uv venv; fi
@echo "Run: source .venv/bin/activate"
venv-win:
@if not exist .venv (uv venv)
@echo Run: .venv\Scripts\activate
dev:
DAGSTER_HOME=$(PWD)/logs uv run dg dev
sync:
uv sync
notebook:
uv sync --extra notebook