The best way to control Claude Code, Codex and more from any computer or phone

main
md 46 lines 1 KB
Rendered Raw
1 # Fly Website: Vocs
2
3 Deploys a [Vocs](https://vocs.dev) site to Fly with
4 `Fly.Website.Vocs` — no adapter setup in the project config.
5
6 The Node adapter bundle runs as a Fly Service on a Machine (port 3000).
7 The resource runs Vocs' Waku/RSC build and deploys the server runtime plus prerendered pages.
8
9 - `vocs.config.ts` is loaded natively by Vocs.
10 - `src/pages/*.mdx` contains the documentation pages.
11 - `public/hello.txt` demonstrates static passthrough assets.
12
13 ```ts
14 const site = yield* Fly.Website.Vocs("VocsDocs");
15 ```
16
17 The integration package must be installed in the project (it is loaded
18 dynamically at deploy time):
19
20 ```sh
21 bun add -d @alchemy.run/frontend-frameworks
22 ```
23
24 ## Deploy
25
26 ```sh
27 bun run deploy
28 ```
29
30 Unchanged sources skip the build entirely on subsequent deploys — the
31 input files are content-hashed (scoped by `memo.include`).
32
33 ## Dev
34
35 ```sh
36 bun run dev
37 ```
38
39 `alchemy dev` runs the framework's own dev server (HMR included) and
40 no cloud resources are created.
41
42 ## Destroy
43
44 ```sh
45 bun run destroy
46 ```