1# Railway Website: Vocs
2
3Deploys a [Vocs](https://vocs.dev) site to Railway with
4`Railway.Website.Vocs` — no adapter setup in the project config.
5
6Alchemy generates a Dockerfile and uploads the build context; Railway builds the image. The Service listens on port 3000.
7The 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
14const site = yield* Railway.Website.Vocs("VocsDocs");
15```
16
17The integration package must be installed in the project (it is loaded
18dynamically at deploy time):
19
20```sh
21bun add -d @alchemy.run/frontend-frameworks
22```
23
24## Deploy
25
26```sh
27bun run deploy
28```
29
30Unchanged sources skip the build entirely on subsequent deploys — the
31input files are content-hashed (scoped by `memo.include`).
32
33## Dev
34
35```sh
36bun run dev
37```
38
39`alchemy dev` runs the framework's own dev server (HMR included) and
40no cloud resources are created.
41
42## Destroy
43
44```sh
45bun run destroy
46```