Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions RUNNING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ develop on its `main`, publish a bump, then bump the dependency here. The
- Self-host boots standalone with just env vars — see
`e2e/setup/selfhost.globalsetup.ts` for the canonical recipe (data dir,
bootstrap admin email/password, base URL, `EXECUTOR_ALLOW_LOCAL_NETWORK`)
- Self-host Vite dev shows first-run setup by default. Set
`EXECUTOR_DEV_SEED_ADMIN=1` to seed `admin@example.com` /
`executor-dev-admin` instead.
- Cloud needs WorkOS + Autumn; for a no-.env boot, point it at emulators —
see `e2e/setup/cloud.globalsetup.ts` for the canonical recipe (the real
SDKs against emulated services, PGlite dev DB)
Expand Down
6 changes: 4 additions & 2 deletions apps/host-selfhost/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ const DEV_PORT = 5173;
// via real env for anything you care about (esp. BETTER_AUTH_SECRET in prod).
process.env.EXECUTOR_DATA_DIR ??= fileURLToPath(new URL("./.executor-dev/", import.meta.url));
process.env.BETTER_AUTH_SECRET ??= "executor-selfhost-dev-secret-change-me-0123456789";
process.env.EXECUTOR_BOOTSTRAP_ADMIN_EMAIL ??= "admin@example.com";
process.env.EXECUTOR_BOOTSTRAP_ADMIN_PASSWORD ??= "executor-dev-admin";
if (process.env.EXECUTOR_DEV_SEED_ADMIN === "1") {
process.env.EXECUTOR_BOOTSTRAP_ADMIN_EMAIL ??= "admin@example.com";
process.env.EXECUTOR_BOOTSTRAP_ADMIN_PASSWORD ??= "executor-dev-admin";
}
process.env.EXECUTOR_WEB_BASE_URL ??= `http://localhost:${DEV_PORT}`;

// Dev-only: forward /api, /mcp, /docs to the self-host Effect handler in-process
Expand Down
Loading