forked from polyneme/openalex-terminusdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
23 lines (19 loc) · 793 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
init:
pip install -r requirements.txt
pip install -r requirements.dev.txt
pip install --editable .[dev]
update-deps:
# --allow-unsafe pins packages considered unsafe: distribute, pip, setuptools.
pip install --upgrade pip-tools pip setuptools
pip-compile --upgrade --build-isolation --generate-hashes \
--allow-unsafe --resolver=backtracking --strip-extras \
--output-file requirements.txt \
requirements.in
pip-compile --allow-unsafe --upgrade --build-isolation --generate-hashes \
--allow-unsafe --resolver=backtracking --strip-extras \
--output-file requirements.dev.txt \
requirements.dev.in
update: update-deps init
redeploy:
cd ~ && docker compose up -d --build --force-recreate dagster_codelocation_openalex_terminusdb
.PHONY: init update-deps update redeploy