51 lines
765 B
Markdown
51 lines
765 B
Markdown
# Local Orchestration
|
|
|
|
One-click scripts to run the full stack locally.
|
|
|
|
## Windows (PowerShell)
|
|
|
|
From repo root:
|
|
|
|
```
|
|
.\start_all.ps1
|
|
```
|
|
|
|
Stop everything:
|
|
|
|
```
|
|
.\stop_all.ps1
|
|
```
|
|
|
|
## Linux / macOS
|
|
|
|
From repo root:
|
|
|
|
```
|
|
chmod +x start_all.sh stop_all.sh
|
|
./start_all.sh
|
|
```
|
|
|
|
Stop everything:
|
|
|
|
```
|
|
./stop_all.sh
|
|
```
|
|
|
|
## What the scripts do
|
|
|
|
- Start PostgreSQL via Docker if not running
|
|
- Apply migrations (Alembic if present, otherwise `db_migrations/*.sql`)
|
|
- Start FastAPI backend
|
|
- Start engine runner
|
|
- Start React frontend
|
|
- Wait for `http://localhost:8000/health`
|
|
- Open `http://localhost:3000/admin`
|
|
|
|
## Requirements
|
|
|
|
- Docker Desktop
|
|
- Python venv at `.venv`
|
|
- Node + npm
|
|
|
|
If you are using Alembic, place `alembic.ini` at repo root or `backend/alembic.ini`.
|