42 lines
496 B
Markdown
42 lines
496 B
Markdown
# Local Setup
|
|
|
|
## Prerequisites
|
|
|
|
- Python 3.12
|
|
- Node.js 22
|
|
- Docker Desktop
|
|
|
|
## First Run
|
|
|
|
```bash
|
|
copy .env.example .env
|
|
cd infra
|
|
docker compose --env-file ../.env up --build
|
|
```
|
|
|
|
Backend:
|
|
|
|
- API: http://localhost:8000/api/docs
|
|
- Health: http://localhost:8000/api/system/health
|
|
|
|
Frontend:
|
|
|
|
- App: http://localhost:5173
|
|
|
|
## Backend Tests
|
|
|
|
```bash
|
|
cd backend
|
|
python -m pip install -e ".[dev]"
|
|
pytest -v
|
|
```
|
|
|
|
## Frontend Checks
|
|
|
|
```bash
|
|
cd frontend
|
|
npm install
|
|
npm run typecheck
|
|
npm run build
|
|
```
|