-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathMakefile
More file actions
44 lines (36 loc) · 1.07 KB
/
Copy pathMakefile
File metadata and controls
44 lines (36 loc) · 1.07 KB
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
42
43
44
.PHONY: install test run clean deploy
# Set default target
default: help
# Help command
help:
@echo "Qdrant Multi-Node Cluster Demo - Available commands:"
@echo " make install - Install the package in development mode"
@echo " make test - Run tests"
@echo " make run - Run the demo application"
@echo " make deploy - Deploy the Qdrant cluster using Docker Compose"
@echo " make clean - Clean up build artifacts"
@echo " make help - Show this help message"
# Install package in development mode
install:
pip install -e .
# Run tests
test:
python -m unittest discover -s tests
# Run the demo application
run:
python src/run_demo.py
# Deploy Qdrant cluster using Docker Compose
deploy:
cd deployments/docker && docker-compose up -d
# Stop Qdrant cluster
stop:
cd deployments/docker && docker-compose down
# Clean up build artifacts
clean:
rm -rf build/
rm -rf dist/
rm -rf *.egg-info
find . -name "__pycache__" -type d -exec rm -rf {} +
find . -name "*.pyc" -delete
find . -name "*.pyo" -delete
find . -name "*.pyd" -delete