-
Notifications
You must be signed in to change notification settings - Fork 15
/
Makefile
36 lines (27 loc) · 1.16 KB
/
Makefile
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
29
30
31
32
33
34
35
36
locally: manifest
clear
dagster dev
clean:
rm -rf ~/.dagster_home; mkdir ~/.dagster_home; cp dagster.yaml ~/.dagster_home/dagster.yaml
manifest:
dbt parse --project-dir=dbt_project --target BRANCH
deps:
dbt deps --project-dir=dbt_project
stateful_dev: clean manifest
export DAGSTER_HOME="~/.dagster_home"; dagster dev
stateful_dev_prod: clean manifest
export DAGSTER_HOME="~/.dagster_home"; export DAGSTER_CLOUD_DEPLOYMENT_NAME="data-eng-prod"; dagster dev
dependencies:
uv pip install -e ".[dev]"
update_packages:
uv lock --upgrade;
uv lock --upgrade --directory hooli_basics;
uv lock --upgrade --directory hooli_batch_enrichment;
uv lock --upgrade --directory hooli_snowflake_insights;
uv lock --upgrade --directory hooli-data-ingest;
uv lock --upgrade --directory hooli-bi;
# ensure that DAGSTER_GIT_REPO_DIR is set to the path of the dagster repo
# see https://www.notion.so/dagster/Local-Dev-Setup-e58aba352f704dcc88a8dc44cb1ce7fc for more details
# ensure your virtual environment is activated here
install_from_dagster_clone:
source .venv/bin/activate; uv pip install pip; cd ${DAGSTER_GIT_REPO_DIR} && python scripts/install_dev_python_modules.py; cd -;