diff --git a/src/content/docs/workers/frameworks/framework-guides/redwoodsdk.mdx b/src/content/docs/workers/frameworks/framework-guides/redwoodsdk.mdx new file mode 100644 index 00000000000000..6ff8ec9ab98240 --- /dev/null +++ b/src/content/docs/workers/frameworks/framework-guides/redwoodsdk.mdx @@ -0,0 +1,53 @@ +--- +pcx_content_type: how-to +title: RedwoodSDK +head: [] +description: Create an RedwoodSDK application and deploy it to Cloudflare Workers with Workers Assets. +--- + +import { + Badge, + Description, + InlineBadge, + Render, + PackageManagers, + Steps, +} from "~/components"; + +In this guide, you will create a new [RedwoodSDK](https://rwsdk.com/) application and deploy it to Cloudflare Workers. + +RedwoodSDK is a composable framework for building server-side web apps on Cloudflare. It starts as a Vite plugin that unlocks SSR, React Server Components, Server Functions, and realtime capabilities. + +## Deploy a new RedwoodSDK application on Workers + + +1. **Create a new project.** + + Run the following command, replacing `` with your desired project name: + "} + /> + +2. **Change the directory.** + ```sh + cd + ``` + +3. **Install dependencies.** + + +4. **Develop locally.** + + Run the following command in the project directory to start a local development server. RedwoodSDK is just a plugin for Vite, so you can use the same dev workflow as any other Vite project: + + +5. **Deploy your project.** + + You can deploy your project to a `*.workers.dev` subdomain or a [Custom Domain](/workers/configuration/routing/custom-domains/), either from your local machine or from any CI/CD system, including [Cloudflare Workers CI/CD](/workers/ci-cd/builds/). + + Use the following command to build and deploy. If you are using CI, make sure to update your [deploy command](/workers/ci-cd/builds/configuration/#build-settings) configuration accordingly. + + + \ No newline at end of file