Skip to content

Commit f6e00cd

Browse files
letrootToriLindsay
andauthored
Update guide.mdx (#17544)
* Update guide.mdx Make explicit the fact that when cloning your template, you can create your own Wrangler file to make your project compatible with Cloudflare as a template. I am making this edit because I was confused when reading the docs as to how to make take my NodeJS project and turn it into a worker without going through the fresh intall to learn what config files I need. * Rewrite --------- Co-authored-by: ToriLindsay <[email protected]>
1 parent 50a5eda commit f6e00cd

File tree

1 file changed

+3
-3
lines changed
  • src/content/docs/workers/get-started

1 file changed

+3
-3
lines changed

src/content/docs/workers/get-started/guide.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ In your project directory, C3 will have generated the following:
5858

5959
<Details header="What if I already have a project in a git repository?">
6060

61-
In addition to creating new projects from C3 templates, C3 also supports creating new projects from Git repositories. To create a new project from a Git repository, open your terminal and run:
61+
In addition to creating new projects from C3 templates, C3 also supports creating new projects from existing Git repositories. To create a new project from an existing Git repository, open your terminal and run:
6262

6363
```sh
6464
npm create cloudflare@latest -- --template <SOURCE>
@@ -75,10 +75,10 @@ npm create cloudflare@latest -- --template <SOURCE>
7575
- `bitbucket:user/repo` (Bitbucket)
7676
- `gitlab:user/repo` (GitLab)
7777

78-
At a minimum, template folders must contain the following:
78+
Your existing template folder must contain the following files, at a minimum, to meet the requirements for Cloudflare Workers:
7979

8080
- `package.json`
81-
- `wrangler.toml`
81+
- `wrangler.toml` [See sample Wrangler configuration](/workers/wrangler/configuration/#sample-wranglertoml-configuration)
8282
- `src/` containing a worker script referenced from `wrangler.toml`
8383

8484
</Details>

0 commit comments

Comments
 (0)