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
{{ message }}
Repository navigation
Commit 90499de
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packages/agentenv-protocol/examples/website/notes/README.md
+17-11Lines changed: 17 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,19 +6,23 @@ them. The page shows the universe's time.
6
6
7
7
| File | What it is |
8
8
| --- | --- |
9
-
|`site.py`| The server: the `Notes` WebsiteEnvironment, its `@api` routes, and `serve()` on `PORT` (8000). |
9
+
|`website.toml`| The site's spec: its name, domains, health path, source, seed, collections, personas, roles, routes, state read and clock (see `docs/website-spec.md`). |
10
+
|`site.py`| The server: the `Notes` WebsiteEnvironment, declared from `website.toml`, its `@api` routes, and `serve()` on `PORT` (8000). |
10
11
|`data/seed.json`| The seed data: two users (`ann`, `ben`), their notes, and `current_user`, the acting user. |
11
12
|`web/`| A minimal Vite app (`index.html`, `src/main.js`, `src/style.css`). Its assets (`base: "./"`) and API calls are relative to the page, so it works at `/` and under the gateway's `/website/notes/` alike. |
12
13
|`Dockerfile`| The server image: Node builds `web/`, then Python installs this repo's `packages/agentenv-protocol` with uvicorn. It installs `curl`, which the gateway's compose health check runs. |
13
-
|`env.toml`| The website env as a bundle entry. |
14
+
|`env.toml`| The website env as a bundle entry, pointing at `website.toml`. |
0 commit comments