Skip to content

Waku

Source: src/Railway/Website/Waku.ts

Deploy a Waku application to Railway: the RSC server plus SSG pages on one Railway.Service. The Node deploy target selects waku’s node adapter; do not set unstable_adapter. SSG pages are served extensionless (/about).

During alchemy dev the site is Waku’s own dev server and no cloud resources are created. Alchemy.remote() opts back into the live Service path.

const site = yield* Railway.Website.Waku("Web", {
rootDir: "./app",
});
const site = yield* Railway.Website.Waku("Web", {
rootDir: "./app",
env: {
API_BASE: "https://api.example.com",
},
});