Spaces:
Runtime error
Runtime error
| .PHONY: help start stop restart status logs dev-health install test lint typecheck | |
| help: | |
| "Research-Link-AI — developer commands" | |
| " make start Start backend (serves the web UI) using .env" | |
| " make stop Stop backend/frontend and clean PID files" | |
| " make restart Stop then start" | |
| " make status Show process/URL/LLM status" | |
| " make logs Print recent backend/frontend logs" | |
| " make dev-health Check environment readiness" | |
| " make index Rebuild papers/README.md workspace index" | |
| " make install pip install -e .[dev]" | |
| " make test Run pytest" | |
| " make lint Run ruff" | |
| " make typecheck Run mypy (typed surface)" | |
| start: | |
| scripts/start.sh | |
| stop: | |
| scripts/stop.sh | |
| restart: stop start | |
| status: | |
| scripts/status.sh | |
| logs: | |
| "== backend (last 120) =="; tail -n 120 .runtime/backend.log 2>/dev/null || echo " no backend log yet" | |
| "== frontend (last 120) =="; tail -n 120 .runtime/frontend.log 2>/dev/null || echo " no frontend log (served by backend)" | |
| dev-health: | |
| scripts/dev-health.sh | |
| index: | |
| index papers 2>/dev/null || echo "No papers/ workspace yet — ingest a paper first." | |
| install: | |
| pip install -e ".[dev]" | |
| test: | |
| python -m pytest -q | |
| lint: | |
| python -m ruff check . | |
| typecheck: | |
| python -m mypy src/researchlink/services src/researchlink/schemas | |