Run the bots queue and cron with bun run start
This commit is contained in:
@@ -27,7 +27,7 @@ This is **Cobble** (`cobble.moduletrace.org`): an open-source crew of small AI w
|
|||||||
| Purpose | Command |
|
| Purpose | Command |
|
||||||
| -------------------------------- | --------------------------------------------------------- |
|
| -------------------------------- | --------------------------------------------------------- |
|
||||||
| Dev server | `bun run dev` (runs `bun src/server.ts`) |
|
| 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` |
|
| Type-check only | `bun run typecheck` |
|
||||||
| Run tests | `bun run test` |
|
| Run tests | `bun run test` |
|
||||||
| Regenerate favicon/brand/PWA assets | `bun run gen:favicon` (runs `src/scripts/generate-brand-assets.ts`) |
|
| Regenerate favicon/brand/PWA assets | `bun run gen:favicon` (runs `src/scripts/generate-brand-assets.ts`) |
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@
|
|||||||
"db:backup": "bunx bun-sqlite backup",
|
"db:backup": "bunx bun-sqlite backup",
|
||||||
"seed": "bun src/scripts/seed-super-admin.tsx",
|
"seed": "bun src/scripts/seed-super-admin.tsx",
|
||||||
"seed:bots": "bun src/scripts/seed-bots.ts",
|
"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",
|
"typecheck": "tsc --noEmit",
|
||||||
"test": "bun test"
|
"test": "bun test"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user