diff --git a/src/content/docs/workers/get-started/dashboard.mdx b/src/content/docs/workers/get-started/dashboard.mdx index ed07db72688b65d..7162f89e4be2a15 100644 --- a/src/content/docs/workers/get-started/dashboard.mdx +++ b/src/content/docs/workers/get-started/dashboard.mdx @@ -11,13 +11,13 @@ head: import { Render } from "~/components" -Follow this guide to create a Workers application using the Cloudflare dashboard. +Follow this guide to create a Workers application using [the Cloudflare dashboard](https://dash.cloudflare.com). ## Prerequisites -Sign up for a [Cloudflare account](https://dash.cloudflare.com/sign-up/workers-and-pages) if you have not already. +[Create a Cloudflare account](/learning-paths/get-started/account-setup/create-account/), if you have not already. ## Setup @@ -25,7 +25,7 @@ To create a Workers application: 1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account. 2. Go to **Workers & Pages**. -3. Select **Create application**. +3. Select **Create**. 4. Select a template or **Create Worker**. 5. Review the provided code and select **Deploy**. 6. Preview your Worker at its provided [`workers.dev`](/workers/configuration/routing/workers-dev/) subdomain. @@ -33,3 +33,12 @@ To create a Workers application: ## Development + +## Next steps + +To do more: + +- Review our [Examples](/workers/examples/) and [Tutorials](/workers/tutorials/) for inspiration. +- Set up [bindings](/workers/runtime-apis/bindings/) to allow your Worker to interact with other resources and unlock new functionality. +- Learn how to [test and debug](/workers/testing/) your Workers. +- Read about [Workers limits and pricing](/workers/platform/). diff --git a/src/content/docs/workers/get-started/guide.mdx b/src/content/docs/workers/get-started/guide.mdx index 75f3eec08392db0..73faa6fc08ace97 100644 --- a/src/content/docs/workers/get-started/guide.mdx +++ b/src/content/docs/workers/get-started/guide.mdx @@ -20,9 +20,7 @@ This guide will instruct you through setting up and deploying your first Worker. ## 1. Create a new Worker project -[C3 (`create-cloudflare-cli`)](https://github.com/cloudflare/workers-sdk/tree/main/packages/create-cloudflare) is a command-line tool designed to help you set up and deploy new applications to Cloudflare. - -Open a terminal window and run C3 to create your Worker project: +Open a terminal window and run C3 to create your Worker project. [C3 (`create-cloudflare-cli`)](https://github.com/cloudflare/workers-sdk/tree/main/packages/create-cloudflare) is a command-line tool designed to help you set up and deploy new applications to Cloudflare. @@ -87,7 +85,7 @@ At a minimum, template folders must contain the following: ## 2. Develop with Wrangler CLI -The Workers command-line interface, [Wrangler](/workers/wrangler/install-and-update/), allows you to [create](/workers/wrangler/commands/#init), [test](/workers/wrangler/commands/#dev), and [deploy](/workers/wrangler/commands/#deploy) your Workers projects. C3 will install Wrangler in projects by default. +C3 installs [Wrangler](/workers/wrangler/install-and-update/), the Workers command-line interface, in Workers projects by default. Wrangler lets you to [create](/workers/wrangler/commands/#init), [test](/workers/wrangler/commands/#dev), and [deploy](/workers/wrangler/commands/#deploy) your Workers projects. After you have created your first Worker, run the [`wrangler dev`](/workers/wrangler/commands/#dev) command in the project directory to start a local server for developing your Worker. This will allow you to preview your Worker locally during development. @@ -95,7 +93,7 @@ After you have created your first Worker, run the [`wrangler dev`](/workers/wran npx wrangler dev ``` -If you have not used Wrangler before, it will try to open your web browser to login with your Cloudflare account. +If you have never used Wrangler before, it will open your web browser so you can login to your Cloudflare account. Go to [http://localhost:8787](http://localhost:8787) to view your Worker. @@ -191,9 +189,9 @@ If you have not configured any subdomain or domain, Wrangler will prompt you dur Preview your Worker at `..workers.dev`. -
+
-When pushing to your `*.workers.dev` subdomain for the first time, you may see [`523` errors](/support/troubleshooting/cloudflare-errors/troubleshooting-cloudflare-5xx-errors/#error-523-origin-is-unreachable) while DNS is propagating. These errors should resolve themselves after a minute or so. +If you see [`523` errors](/support/troubleshooting/cloudflare-errors/troubleshooting-cloudflare-5xx-errors/#error-523-origin-is-unreachable) when pushing your `*.workers.dev` subdomain for the first time, wait a minute or so and the errors will resolve themselves.
@@ -201,6 +199,7 @@ When pushing to your `*.workers.dev` subdomain for the first time, you may see [ To do more: +- Visit the [Cloudlfare dashboard](https://dash.cloudflare.com/) for simpler editing. - Review our [Examples](/workers/examples/) and [Tutorials](/workers/tutorials/) for inspiration. - Set up [bindings](/workers/runtime-apis/bindings/) to allow your Worker to interact with other resources and unlock new functionality. - Learn how to [test and debug](/workers/testing/) your Workers.