]> git.ardis.lu - cloudflare-workers/commitdiff
Update README quickstart for new wrangler.toml
authorArdis Lu <ardisglu@gmail.com>
Sat, 24 Jul 2021 22:36:24 +0000 (15:36 -0700)
committerArdis Lu <ardisglu@gmail.com>
Sat, 24 Jul 2021 22:36:24 +0000 (15:36 -0700)
README.md

index a8b6cb32def698a0c961587c306b5d81ddad4c76..e724787eefaea29996407b3f1598b01eb94d1480 100644 (file)
--- a/README.md
+++ b/README.md
@@ -21,17 +21,12 @@ npm i
 npm run login
 ```
 
-4. Set `account_id` in `wrangler.toml.example`:
+4. For each Cloudflare Worker, make a copy of `wrangler.toml.example` and rename it to `wrangler.toml`. Set `account_id` in `wrangler.toml`:
 ```
 account_id = [Account ID value from login]
 ```
 
-5. For each Cloudflare Worker, make a copy of `wrangler.toml.example` and rename it to `wrangler.toml`. Put `wrangler.toml` in the folder for each worker. Set the Cloudflare Worker name in the copied `wrangler.toml`:
-```
-name = [Cloudflare Worker name]
-```
-
-6. Test that all Cloudflare Workers work:
+5. Test that all Cloudflare Workers work:
 ```
 npm run preview --workspaces
 ```
@@ -41,7 +36,7 @@ Or test an individual Worker:
 npm run preview --workspace=[Cloudflare Worker name]
 ```
 
-7. Publish all the Workers to Cloudflare:
+6. Publish all the Workers to Cloudflare:
 ```
 npm run publish --workspaces
 ```
This page took 0.040172 seconds and 4 git commands to generate.