Skip to content

Commit fc93b7e

Browse files
committed
Fixing wording, improving tutorial steps.
1 parent 1e9d9b7 commit fc93b7e

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

src/content/docs/d1/platform/limits.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { Render } from "~/components";
1515
| Maximum storage per account | 250 GB (Workers Paid)[^1] / 5 GB (Free) |
1616
| [Time Travel](/d1/reference/time-travel/) duration (point-in-time recovery) | 30 days (Workers Paid) / 7 days (Free) |
1717
| Maximum Time Travel restore operations | 10 restores per 10 minute (per database) |
18-
| Queries per Worker invocation (read [subrequest limits](/workers/platform/limits/#how-many-subrequests-can-i-make)) | 50 (Bundled) / 1000 (Unbound) |
18+
| Queries per Worker invocation (read [subrequest limits](/workers/platform/limits/#how-many-subrequests-can-i-make)) | 50 (Free) / 1000 (Paid) |
1919
| Maximum number of columns per table | 100 |
2020
| Maximum number of rows per table | Unlimited (excluding per-database storage limits) |
2121
| Maximum string, `BLOB` or table row size | 2,000,000 bytes (2 MB) |

src/content/docs/d1/tutorials/using-read-replication-for-e-com/index.mdx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ If you want to skip the steps and get started quickly, click on the below button
3030

3131
[![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/harshil1712/e-com-d1-hono)
3232

33-
This will create a repository in your GitHub account and deploy the application to Cloudflare Workers. It will also create and bind a D1 database, create the required tables, add some sample data, and activate read replication. You can then visit the deployed application.
33+
This will create a repository in your GitHub account and deploy the application to Cloudflare Workers. It will also create and bind a D1 database, create the required tables, add some sample data. During deployment, tick the `Enable read replication` box to activate read replication.
34+
35+
You can then visit the deployed application.
3436

3537
## Prerequisites
3638

@@ -62,6 +64,13 @@ npm install hono
6264

6365
The above step creates a new Workers project with a default frontend and installs Hono. You will update the frontend to list the products. You will also add a new page to the frontend to display a single product.
6466

67+
Navigate to the newly created Worker project folder.
68+
69+
```sh
70+
cd fast-commerce
71+
```
72+
73+
6574
Update the `public/index.html` file to list the products. Use the below code as a reference.
6675

6776
<Details open={false} header="public/index.html">
@@ -740,7 +749,7 @@ npm run dev
740749

741750
Navigate to `http://localhost:8787. You should see the products listed. Click on a product to view the product details.
742751

743-
To insert a new product, use the following command:
752+
To insert a new product, use the following command (while the development server is running):
744753

745754
```sh
746755
curl -X POST http://localhost:8787/api/product \

0 commit comments

Comments
 (0)