File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ QDRANT_URL := http://localhost:6333
2+ SEMCODE_URL := http://localhost:8090
3+
4+ .PHONY : qdrant-clean qdrant-dashboard index-code index-history \
5+ docker-build-restart docker-up docker-logs docker-logs-semcode
6+
7+ qdrant-clean :
8+ curl -sf -X DELETE $(QDRANT_URL ) /collections/code_symbols && \
9+ curl -sf -X DELETE $(QDRANT_URL ) /collections/git_commits
10+ @echo " Qdrant collections removed."
11+
12+ qdrant-dashboard :
13+ open $(QDRANT_URL ) /dashboard
14+
15+ index-code :
16+ curl -sf -X POST $(SEMCODE_URL ) /reindex \
17+ -H " Content-Type: application/json" \
18+ --no-buffer
19+
20+ index-history :
21+ curl -sf -X POST $(SEMCODE_URL ) /reindex-history \
22+ -H " Content-Type: application/json" \
23+ --no-buffer
24+
25+ docker-build-restart :
26+ docker compose down && docker compose up --build -d
27+
28+ docker-up :
29+ docker compose up -d
30+
31+ docker-logs :
32+ docker compose logs -f
33+
34+ docker-logs-semcode :
35+ docker compose logs -f semcode
You can’t perform that action at this time.
0 commit comments