-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (26 loc) · 681 Bytes
/
Makefile
File metadata and controls
37 lines (26 loc) · 681 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
.PHONY: install test lint clean run docker docker-up docker-down docker-build dashboard download-data
install:
pip install -r requirements.txt
pip install -e .
test:
pytest tests/ -v --tb=short --cov=src
lint:
ruff check src/ tests/
ruff format src/ tests/
clean:
find . -type d -name __pycache__ -exec rm -rf {} +
find . -type f -name "*.pyc" -delete
run:
python -m src.main
docker-build:
docker compose build
docker-up:
docker compose up -d
docker-down:
docker compose down
docker:
docker compose up --build
dashboard:
streamlit run src/dashboard/app.py
download-data:
python -c "from src.data.downloader import download_movielens; download_movielens()"