| 1 | .PHONY: install run demo serve test lint |
| 2 | |
| 3 | install: |
| 4 | pip install -r requirements-dev.txt |
| 5 | |
| 6 | run: |
| 7 | python -m cti.cli run -c config.yaml |
| 8 | |
| 9 | demo: |
| 10 | CTI_USE_FIXTURES=1 CTI_EMAIL_BACKEND=file CTI_APPROVAL_SECRET=demo-secret python -m cti.cli run -c config.example.yaml |
| 11 | |
| 12 | serve: |
| 13 | CTI_EMAIL_BACKEND=file CTI_APPROVAL_SECRET=demo-secret python -m cti.cli serve -c config.example.yaml --port 8080 |
| 14 | |
| 15 | test: |
| 16 | pytest -q |
| 17 | |
| 18 | lint: |
| 19 | ruff check src tests |