diff --git a/examples/ai-agent/README.md b/examples/ai-agent/README.md index 274868d37..549d97344 100644 --- a/examples/ai-agent/README.md +++ b/examples/ai-agent/README.md @@ -17,8 +17,9 @@ Example project demonstrating AI agent integration with [RivetKit](https://rivet ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/ai-agent -npm install ``` ### Development diff --git a/examples/ai-agent/src/backend/server.ts b/examples/ai-agent/src/backend/server.ts index 6303cbd7a..c140fa847 100644 --- a/examples/ai-agent/src/backend/server.ts +++ b/examples/ai-agent/src/backend/server.ts @@ -2,6 +2,6 @@ import { registry } from "./registry"; registry.runServer({ cors: { - origin: "http://localhost:5173", + origin: "http://localhost:3000", }, }); diff --git a/examples/better-auth-external-db/README.md b/examples/better-auth-external-db/README.md index a7acac3e8..8e1075db3 100644 --- a/examples/better-auth-external-db/README.md +++ b/examples/better-auth-external-db/README.md @@ -17,8 +17,9 @@ Example project demonstrating authentication integration with [RivetKit](https:/ ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/better-auth-external-db -npm install ``` ### Development diff --git a/examples/chat-room/README.md b/examples/chat-room/README.md index 6b181e8b7..e7a3ed05b 100644 --- a/examples/chat-room/README.md +++ b/examples/chat-room/README.md @@ -16,8 +16,9 @@ Example project demonstrating real-time messaging and actor state management wit ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/chat-room -npm install ``` ### Development diff --git a/examples/chat-room/src/backend/server.ts b/examples/chat-room/src/backend/server.ts index 6303cbd7a..c140fa847 100644 --- a/examples/chat-room/src/backend/server.ts +++ b/examples/chat-room/src/backend/server.ts @@ -2,6 +2,6 @@ import { registry } from "./registry"; registry.runServer({ cors: { - origin: "http://localhost:5173", + origin: "http://localhost:3000", }, }); diff --git a/examples/cloudflare-workers-hono/README.md b/examples/cloudflare-workers-hono/README.md index 1e0b0097c..37290f704 100644 --- a/examples/cloudflare-workers-hono/README.md +++ b/examples/cloudflare-workers-hono/README.md @@ -18,8 +18,9 @@ Example project demonstrating Cloudflare Workers deployment with Hono router usi ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/cloudflare-workers-hono -npm install ``` ### Development diff --git a/examples/cloudflare-workers/README.md b/examples/cloudflare-workers/README.md index bf6cb3c63..7c099a7dd 100644 --- a/examples/cloudflare-workers/README.md +++ b/examples/cloudflare-workers/README.md @@ -18,8 +18,9 @@ Example project demonstrating Cloudflare Workers deployment with [RivetKit](http ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/cloudflare-workers -npm install ``` ### Development diff --git a/examples/counter/README.md b/examples/counter/README.md index cac72debf..c5ff6d64e 100644 --- a/examples/counter/README.md +++ b/examples/counter/README.md @@ -16,8 +16,9 @@ Example project demonstrating basic actor state management and RPC calls with [R ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/counter -npm install ``` ### Development diff --git a/examples/crdt/README.md b/examples/crdt/README.md index e927175d6..640328be6 100644 --- a/examples/crdt/README.md +++ b/examples/crdt/README.md @@ -16,8 +16,9 @@ Example project demonstrating real-time collaborative editing using Conflict-fre ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/crdt -npm install ``` ### Development diff --git a/examples/crdt/src/backend/server.ts b/examples/crdt/src/backend/server.ts index 6303cbd7a..c140fa847 100644 --- a/examples/crdt/src/backend/server.ts +++ b/examples/crdt/src/backend/server.ts @@ -2,6 +2,6 @@ import { registry } from "./registry"; registry.runServer({ cors: { - origin: "http://localhost:5173", + origin: "http://localhost:3000", }, }); diff --git a/examples/database/README.md b/examples/database/README.md index 629e787ec..b64956c57 100644 --- a/examples/database/README.md +++ b/examples/database/README.md @@ -16,8 +16,9 @@ Example project demonstrating persistent data storage and real-time updates with ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/database -npm install ``` ### Development diff --git a/examples/database/src/backend/server.ts b/examples/database/src/backend/server.ts index 6303cbd7a..c140fa847 100644 --- a/examples/database/src/backend/server.ts +++ b/examples/database/src/backend/server.ts @@ -2,6 +2,6 @@ import { registry } from "./registry"; registry.runServer({ cors: { - origin: "http://localhost:5173", + origin: "http://localhost:3000", }, }); diff --git a/examples/drizzle/README.md b/examples/drizzle/README.md index bb41842a6..428f16ca4 100644 --- a/examples/drizzle/README.md +++ b/examples/drizzle/README.md @@ -16,8 +16,11 @@ Example project demonstrating Hono web framework integration with [RivetKit](htt ```sh git clone https://github.com/rivet-gg/rivetkit -cd rivetkit/examples/hono -npm install + +pnpm install +pnpm run build +cd rivetkit/examples/drizzle + ``` ### Development diff --git a/examples/elysia/README.md b/examples/elysia/README.md index 2ac4fd51a..2e2eb9541 100644 --- a/examples/elysia/README.md +++ b/examples/elysia/README.md @@ -16,8 +16,9 @@ Example project demonstrating Elysia web framework integration with [RivetKit](h ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/elysia -npm install ``` ### Development diff --git a/examples/express/README.md b/examples/express/README.md index 39d1ce60e..b859f4c59 100644 --- a/examples/express/README.md +++ b/examples/express/README.md @@ -16,8 +16,9 @@ Example project demonstrating Express web framework integration with [RivetKit]( ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/express -npm install ``` ### Development diff --git a/examples/game/README.md b/examples/game/README.md index 7fc2864d1..736979ed2 100644 --- a/examples/game/README.md +++ b/examples/game/README.md @@ -16,8 +16,9 @@ Example project demonstrating real-time multiplayer game mechanics with [RivetKi ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/game -npm install ``` ### Development diff --git a/examples/game/src/backend/server.ts b/examples/game/src/backend/server.ts index 6303cbd7a..c140fa847 100644 --- a/examples/game/src/backend/server.ts +++ b/examples/game/src/backend/server.ts @@ -2,6 +2,6 @@ import { registry } from "./registry"; registry.runServer({ cors: { - origin: "http://localhost:5173", + origin: "http://localhost:3000", }, }); diff --git a/examples/hono-react/README.md b/examples/hono-react/README.md index ea7078c88..b66df2a67 100644 --- a/examples/hono-react/README.md +++ b/examples/hono-react/README.md @@ -16,8 +16,9 @@ Example project demonstrating full-stack Hono backend with React frontend integr ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/hono-react -npm install ``` ### Development diff --git a/examples/hono/README.md b/examples/hono/README.md index bb41842a6..4a0bc2793 100644 --- a/examples/hono/README.md +++ b/examples/hono/README.md @@ -16,8 +16,9 @@ Example project demonstrating Hono web framework integration with [RivetKit](htt ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/hono -npm install ``` ### Development diff --git a/examples/rate/README.md b/examples/rate/README.md index c1e41954d..cc975ecc6 100644 --- a/examples/rate/README.md +++ b/examples/rate/README.md @@ -16,8 +16,9 @@ Example project demonstrating API rate limiting with [RivetKit](https://rivetkit ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/rate -npm install ``` ### Development diff --git a/examples/rate/src/backend/server.ts b/examples/rate/src/backend/server.ts index 6303cbd7a..c140fa847 100644 --- a/examples/rate/src/backend/server.ts +++ b/examples/rate/src/backend/server.ts @@ -2,6 +2,6 @@ import { registry } from "./registry"; registry.runServer({ cors: { - origin: "http://localhost:5173", + origin: "http://localhost:3000", }, }); diff --git a/examples/raw-fetch-handler/README.md b/examples/raw-fetch-handler/README.md index 0bd5df3c5..1b73cb0d4 100644 --- a/examples/raw-fetch-handler/README.md +++ b/examples/raw-fetch-handler/README.md @@ -36,8 +36,9 @@ raw-fetch-handler/ ```sh git clone https://github.com/rivet-gg/rivetkit -cd rivetkit/examples/raw-fetch-handler pnpm install +pnpm run build +cd rivetkit/examples/raw-fetch-handler ``` ### Development diff --git a/examples/raw-websocket-handler-proxy/README.md b/examples/raw-websocket-handler-proxy/README.md index c776b7747..efe3c4783 100644 --- a/examples/raw-websocket-handler-proxy/README.md +++ b/examples/raw-websocket-handler-proxy/README.md @@ -17,8 +17,9 @@ Example project demonstrating raw WebSocket handling with [RivetKit](https://riv ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/raw-websocket-handler-proxy -npm install ``` ### Development diff --git a/examples/react/README.md b/examples/react/README.md index ea7078c88..b66df2a67 100644 --- a/examples/react/README.md +++ b/examples/react/README.md @@ -16,8 +16,9 @@ Example project demonstrating full-stack Hono backend with React frontend integr ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/hono-react -npm install ``` ### Development diff --git a/examples/redis-hono/README.md b/examples/redis-hono/README.md index 2bb6fb8d2..a4b4b55c0 100644 --- a/examples/redis-hono/README.md +++ b/examples/redis-hono/README.md @@ -17,8 +17,9 @@ Example project demonstrating Redis persistence with Hono web framework and [Riv ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/redis-hono -npm install ``` ### Development diff --git a/examples/redis/README.md b/examples/redis/README.md index 1042c3c38..245ee7981 100644 --- a/examples/redis/README.md +++ b/examples/redis/README.md @@ -17,8 +17,9 @@ Example project demonstrating Redis persistence and coordinate topology with [Ri ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/redis -npm install ``` ### Development diff --git a/examples/snippets/README.md b/examples/snippets/README.md index 65e99085f..fbeda5587 100644 --- a/examples/snippets/README.md +++ b/examples/snippets/README.md @@ -16,8 +16,9 @@ Example project demonstrating various RivetKit patterns and integrations with [R ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/snippets -npm install ``` ### Development diff --git a/examples/starter/README.md b/examples/starter/README.md index 80edf99b0..5c3c30053 100644 --- a/examples/starter/README.md +++ b/examples/starter/README.md @@ -18,8 +18,9 @@ Example project demonstrating Rivet cloud platform deployment with [RivetKit](ht ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/rivet -npm install ``` ### Configuration diff --git a/examples/stream/README.md b/examples/stream/README.md index fc53bd31a..9e4aaf9e1 100644 --- a/examples/stream/README.md +++ b/examples/stream/README.md @@ -16,8 +16,9 @@ Example project demonstrating real-time top-K stream processing with [RivetKit]( ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/stream -npm install ``` ### Development diff --git a/examples/stream/src/backend/server.ts b/examples/stream/src/backend/server.ts index 6303cbd7a..c140fa847 100644 --- a/examples/stream/src/backend/server.ts +++ b/examples/stream/src/backend/server.ts @@ -2,6 +2,6 @@ import { registry } from "./registry"; registry.runServer({ cors: { - origin: "http://localhost:5173", + origin: "http://localhost:3000", }, }); diff --git a/examples/sync/README.md b/examples/sync/README.md index ee32debba..1f9639f07 100644 --- a/examples/sync/README.md +++ b/examples/sync/README.md @@ -16,8 +16,9 @@ Example project demonstrating offline-first contact synchronization with conflic ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/sync -npm install ``` ### Development diff --git a/examples/sync/src/backend/server.ts b/examples/sync/src/backend/server.ts index 6303cbd7a..c140fa847 100644 --- a/examples/sync/src/backend/server.ts +++ b/examples/sync/src/backend/server.ts @@ -2,6 +2,6 @@ import { registry } from "./registry"; registry.runServer({ cors: { - origin: "http://localhost:5173", + origin: "http://localhost:3000", }, }); diff --git a/examples/tenant/README.md b/examples/tenant/README.md index 47ee403ef..58114fe45 100644 --- a/examples/tenant/README.md +++ b/examples/tenant/README.md @@ -16,8 +16,9 @@ Example project demonstrating multi-tenant organization management with role-bas ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/tenant -npm install ``` ### Development diff --git a/examples/tenant/src/backend/server.ts b/examples/tenant/src/backend/server.ts index 6303cbd7a..c140fa847 100644 --- a/examples/tenant/src/backend/server.ts +++ b/examples/tenant/src/backend/server.ts @@ -2,6 +2,6 @@ import { registry } from "./registry"; registry.runServer({ cors: { - origin: "http://localhost:5173", + origin: "http://localhost:3000", }, }); diff --git a/examples/trpc/README.md b/examples/trpc/README.md index 26264a02b..89e59e6d7 100644 --- a/examples/trpc/README.md +++ b/examples/trpc/README.md @@ -16,8 +16,9 @@ Example project demonstrating tRPC integration with [RivetKit](https://rivetkit. ```sh git clone https://github.com/rivet-gg/rivetkit +pnpm install +pnpm run build cd rivetkit/examples/trpc -npm install ``` ### Development