forked from capbk/wave_guide
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (19 loc) · 738 Bytes
/
Copy pathMakefile
File metadata and controls
25 lines (19 loc) · 738 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
run:
gunicorn --bind 0.0.0.0:8080 --timeout 120 wsgi_local:app
install-python:
pip3 install -r requirements.txt
install-frontend-test-deps:
npm init -y
npm install --save-dev jest @testing-library/jest-dom
npm install --save-dev @testing-library/dom
npm install --save-dev jest jest-environment-jsdom @babel/preset-env babel-jest
test-backend:
python3 -m pytest tests/ -v
test-frontend:
npm test
test-backendcoverage:
python3 -m pytest tests/ -v --cov=recommendation_engine --cov-report=term-missing
ping-qdrant-cloud:
$(eval QDRANT_URL := $(shell source .env && echo $$QDRANT_URL))
$(eval QDRANT_API_KEY := $(shell source .env && echo $$QDRANT_API_KEY))
curl -X GET '$(QDRANT_URL)' --header 'api-key: $(QDRANT_API_KEY)'