|
1 | 1 | 1. [Sign up for Cloudflare](https://www.cloudflare.com/) (they have a free tier)
|
2 | 2 |
|
3 |
| -2. Create a Pages app to host the React client. From the Workers & Pages screen, choose "Create". |
| 3 | +2. Create a Pages app to host the React client. From the Compute - Workers & Pages screen, choose "Create". |
4 | 4 | 
|
5 | 5 |
|
6 |
| -3. Select the "Pages" tab and click "Upload assets" from the "Create using direct upload" section. |
| 6 | +3. Select the "Pages" tab and click "Get started" in the "Use direct upload" section. |
7 | 7 | 
|
8 | 8 |
|
9 |
| -4. Name your app and click "Create". Note: You do not need to upload any assets and click "Deploy". The Wrangler CLI and GitHub actions will take care of that later. |
| 9 | +4. Name your app and click "Create". Note: You do not need to upload any assets and click "Deploy". The Wrangler CLI and GitHub actions will take care of that later. After creating, skip step 2 and go back to the overview screen. |
10 | 10 |
|
11 | 11 | 
|
12 | 12 |
|
|
19 | 19 | | Plaintext | NODE_VERSION | 22.9.0 |
|
20 | 20 | | Plaintext | PNPM_VERSION | 9 |
|
21 | 21 |
|
22 |
| -7. Create a Workers app to host the prod server. From the Workers & Pages Overview page, click "Create" (like step 2), and then from the "Workers" tab, click "Create Worker". |
| 22 | +  |
| 23 | + |
| 24 | +7. Create a Workers app to host the prod server. From the Workers & Pages Overview page, click "Create" (like step 2), and then from the "Workers" tab, click "Get started" in the section "Start with Hello World!". |
23 | 25 | 
|
24 | 26 |
|
25 | 27 | 8. Name your worker and click "Deploy". Note: Ignore the `worker.js` code, as it will be overwritten by our app when we run our deploy script.
|
26 | 28 | 
|
27 | 29 |
|
28 |
| -9. Add a KV namespace for your prod server storage. Navigate to Workers & Pages - KV, and click "Create a namespace". |
| 30 | +9. Add a KV namespace for your prod server storage. Navigate to Storage & Databases - KV, and click "Create". |
29 | 31 | 
|
30 | 32 |
|
31 |
| -10. Enter a name for your prod server kv namespace, and click "Add". |
| 33 | +10. Enter a name for your prod server kv namespace, and click "Create". |
32 | 34 | 
|
33 | 35 |
|
34 | 36 | 11. Repeat steps 7-10 for your stage server and kv storage. Note: It might be useful to use suffix `-stage` in your naming.
|
35 | 37 |
|
36 |
| -12. On the right hand side of the Workers & Pages Overview screen, you can find your Account ID, as well as a link to "Manage API tokens": |
| 38 | +12. On the right hand side of the Compute - Workers & Pages Overview screen, you can find your Account ID, as well as a link to "Manage API tokens": |
37 | 39 | 
|
38 | 40 |
|
39 | 41 | 13. Create an API token for "Edit Cloudflare Workers", using the provided template.
|
|
0 commit comments