Skip to content

Commit 2cca7b2

Browse files
committed
update seed
1 parent 30d5505 commit 2cca7b2

File tree

2 files changed

+335
-622
lines changed

2 files changed

+335
-622
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,21 @@ bun run dev
5353
8. Seed the database with sample data (optional):
5454

5555
```bash
56-
bun run db:seed <WEBSITE_ID> [DOMAIN] [EVENT_COUNT]
56+
bun run db:seed <WEBSITE_ID> [EVENT_COUNT]
5757
```
5858

5959
**Examples:**
6060

6161
```bash
62-
bun run db:seed g0zlgMtBaXzIP1EGY2ieG onlybuddies.com 10000
63-
bun run db:seed d7zlgMtBaSzIL1EGR2ieR notmybuddy.cc 5000
62+
bun run db:seed g0zlgMtBaXzIP1EGY2ieG 10000
63+
bun run db:seed d7zlgMtBaSzIL1EGR2ieR 5000
6464
```
6565

66-
**Note:** You can find your website ID in your website overview settings.
66+
**Note:**
67+
- The domain is automatically fetched from the database based on the website ID
68+
- Default event count is 10,000 if not specified
69+
- Seeds events, outgoing links, errors, and web vitals data
70+
- You can find your website ID in your website overview settings
6771

6872
## 💻 Development
6973

0 commit comments

Comments
 (0)