Files
ai-ticket-platform/docs/development/local-setup.md
2026-06-30 18:52:27 +08:00

695 B

Local Setup

Prerequisites

  • Python 3.12
  • Node.js 22
  • Docker Desktop

First Run

copy .env.example .env
cd infra
docker compose --env-file ../.env up --build

Backend:

Frontend:

Backend Tests

cd backend
python -m pip install -e ".[dev]"
pytest -v

Frontend Checks

cd frontend
npm install
npm run typecheck
npm run build

Stage 1 API Smoke Tests

  • Tickets: GET http://localhost:8000/api/tickets
  • Ticket export: GET http://localhost:8000/api/tickets/export
  • Solutions: GET http://localhost:8000/api/solutions