File size: 1,203 Bytes
f56a29b ed07c96 f56a29b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | # Startup Modes
## Goal
Help the user choose how MultiMind Classroom should run before you start anything.
## Options
### 1. Development Mode
Recommended for first-time setup and debugging.
```bash
pnpm dev
```
Tradeoff:
- Fastest feedback loop
- Best for validating config changes
- Not representative of production startup
### 2. Production-Like Local Mode
Recommended when the user wants behavior closer to a deployed server.
```bash
pnpm build && pnpm start
```
Tradeoff:
- Closer to production
- Slower startup than `pnpm dev`
### 3. Docker Compose
Use only when the user explicitly wants containerized startup or wants to avoid local Node setup details.
```bash
docker compose up --build
```
Tradeoff:
- Cleaner isolation
- Heavier and slower
- Harder to debug application-level issues quickly
## Recommendation Order
1. `pnpm dev`
2. `pnpm build && pnpm start`
3. `docker compose up --build`
## Health Check
After startup, verify:
```bash
curl -fsS http://localhost:3000/api/health
```
If the skill config provides a custom `url`, use that instead.
## Confirmation Requirements
- Ask the user to choose one startup mode.
- Ask again before running the selected command.
|