-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (31 loc) · 1.17 KB
/
Copy pathMakefile
File metadata and controls
38 lines (31 loc) · 1.17 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
.PHONY: help install mock-data test run clean
help:
@echo "Atieh Clinic Scheduling AI - Makefile Commands"
@echo "==============================================="
@echo ""
@echo " make install - Install Python dependencies"
@echo " make mock-data - Generate mock CRM data"
@echo " make test - Run all tests"
@echo " make run - Start development server (mock mode)"
@echo " make run-live - Start development server (live CRM mode)"
@echo " make clean - Clean temporary files"
@echo ""
install:
pip install -r requirements.txt
mock-data:
python scripts/generate_mock_crm_data.py --patients 200 --appointments 1000
test:
pytest tests/ -v
run:
@echo "Starting server in MOCK mode..."
CRM_MODE=mock uvicorn main:app --reload --host 0.0.0.0 --port 8000
run-live:
@echo "Starting server in LIVE mode..."
@echo "WARNING: Make sure CRM environment variables are set!"
CRM_MODE=live uvicorn main:app --reload --host 0.0.0.0 --port 8000
clean:
find . -type d -name __pycache__ -exec rm -rf {} +
find . -type f -name "*.pyc" -delete
find . -type f -name "*.pyo" -delete
find . -type f -name ".pytest_cache" -exec rm -rf {} +
rm -f test_atieh.db