diff --git a/AGENTS.md b/AGENTS.md index ec1f355..0e587f4 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -27,7 +27,7 @@ This is **Cobble** (`cobble.moduletrace.org`): an open-source crew of small AI w | Purpose | Command | | -------------------------------- | --------------------------------------------------------- | | Dev server | `bun run dev` (runs `bun src/server.ts`) | -| Production | `bun run start` (`NODE_ENV=production bun src/server.ts`) | +| Production | `bun run start` (`MAIN_SERVER=1 NODE_ENV=production bun src/server.ts`) | | Type-check only | `bun run typecheck` | | Run tests | `bun run test` | | Regenerate favicon/brand/PWA assets | `bun run gen:favicon` (runs `src/scripts/generate-brand-assets.ts`) | diff --git a/package.json b/package.json index b11c42f..c073628 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "db:backup": "bunx bun-sqlite backup", "seed": "bun src/scripts/seed-super-admin.tsx", "seed:bots": "bun src/scripts/seed-bots.ts", - "start": "NODE_ENV=production bun src/server.ts", + "start": "MAIN_SERVER=1 NODE_ENV=production bun src/server.ts", "typecheck": "tsc --noEmit", "test": "bun test" },