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

main
ts 26 lines 627 Bytes
Raw
1 import * as Railway from "@alchemy.run/railway";
2 import * as Alchemy from "alchemy";
3 import * as Effect from "effect/Effect";
4
5 export default Alchemy.Stack(
6 "RailwayWebsiteVinextExample",
7 {
8 providers: Railway.providers(),
9 state: Alchemy.localState(),
10 },
11 Effect.gen(function* () {
12 const site = yield* Railway.Website.Vinext("Vinext", {
13 memo: {
14 lockfile: true,
15 include: ["app/**", "public/**", "package.json", "vite.config.ts", "tsconfig.json"],
16 },
17 env: {
18 GREETING: "Hello from vinext on Railway!",
19 },
20 });
21
22 return {
23 url: site.url,
24 };
25 }),
26 );