-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (28 loc) · 801 Bytes
/
Makefile
File metadata and controls
41 lines (28 loc) · 801 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
29
30
31
32
33
34
35
36
37
38
39
40
41
include .env
export $(shell sed 's/=.*//' .env)
pytest_run:
@python -m pytest -v
launch_inference_api:
@bash bash/launch_inference_api.sh
build_inference_api_docker:
@docker build -f src/inference/Dockerfile -t inference_api .
run_inference_api_docker:
@docker run -p 5001:5000 inference_api
build_mlflow_ui_docker:
@docker build -f src/mlflow/Dockerfile -t mlflow_ui .
backup_docker_volumes:
@bash bash/backup_docker_volumes.sh
restore_docker_volumes:
@bash bash/restore_docker_volumes.sh
build_and_start_services:
@docker-compose up -d --build
setup_and_start_services:
@docker-compose up -d
start_services:
@docker-compose start
stop_services:
@docker-compose stop
edge_setup_venv:
@source src/edge/venv/bin/activate
add_pythonpath:
@export PYTHONPATH="${PYTHONPATH}:src"