You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/server/README.md
+26-53Lines changed: 26 additions & 53 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,69 +17,42 @@ See [DEPLOYMENT.md](./DEPLOYMENT.md) for detailed deployment instructions.
17
17
-**Zero-Code Backend**: No creating routes or controllers per object.
18
18
-**Preview Mode**: Run in demo mode — bypass login, auto-simulate admin identity.
19
19
-**Vercel Deployment**: Ready-to-deploy to Vercel with Hono adapter.
20
-
-**Dual-mode bootstrap**: single self-hosted kernel *or* per-project kernels fronting a cloud control plane (see below).
20
+
-**Control-plane + per-project kernels**: the control plane owns `sys_*` (projects, auth, members); each project gets its own kernel minted on demand by `KernelManager`.
21
21
22
-
## Bootstrap shapes
22
+
## Control-plane database
23
23
24
-
A single `apps/server` process can run in three shapes, selected by env vars.
25
-
See the [Cloud vs Self-Hosted guide](../../content/docs/guides/cloud-deployment.mdx) for the full walkthrough.
26
-
27
-
### `single` (default)
28
-
29
-
One `ObjectKernel`, one database, every plugin from `objectstack.config.ts`.
30
-
No control plane, no per-project routing. Ideal for local development and
31
-
single-project deployments.
32
-
33
-
```bash
34
-
OBJECTSTACK_DATABASE_URL=file:./local.db \
35
-
AUTH_SECRET=$(openssl rand -hex 32) \
36
-
pnpm dev
37
-
# → http://localhost:3000
38
-
```
39
-
40
-
### `multi-project-local`
41
-
42
-
Control-plane sys_* tables live in a local SQLite file. Projects are created
43
-
via Studio / the `/api/v1/cloud/projects` REST endpoint; each project binds
44
-
its own driver (sqlite / Turso / postgres). Hostname-based routing delivers
45
-
each request to the matching project's kernel.
24
+
One env var picks where `sys_*` lives. Everything else (per-project kernels,
25
+
Studio routing, template seeding) is the same regardless of the choice.
0 commit comments