Skip to content

Commit 6aa8034

Browse files
committed
update seed script
1 parent 69537c5 commit 6aa8034

4 files changed

Lines changed: 322 additions & 30 deletions

File tree

packages/dashboard/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016 Tim Jones
3+
Copyright (c) 2026 Tim Jones
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

packages/dashboard/README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ DATABASE_URL="postgres://user:password@localhost:5432/mydb" npx pg-boss-dashboar
1313

1414
Open http://localhost:3000 in your browser.
1515

16-
Requires Node.js 22.12+ and a PostgreSQL database with a pg-boss schema (pg-boss 12.24+ recommended). For configuration, multi-database setup, production deployment, warning persistence, and troubleshooting, see the [documentation](https://pgboss.io/dashboard).
1716

1817
## Development
1918

@@ -27,7 +26,7 @@ cd pg-boss/packages/dashboard
2726
# Install dependencies
2827
npm install
2928

30-
# Initialize local database with pg-boss schema and test queues
29+
# Initialize local database with pg-boss schema and demo data
3130
npm run dev:init-db
3231

3332
# Start development server with hot reloading
@@ -44,10 +43,6 @@ npm run build
4443
npm start
4544
```
4645

47-
The `dev:init-db` script creates the pg-boss schema and populates it with sample queues and jobs for testing. It connects to `postgres://postgres:postgres@127.0.0.1:5432/pgboss` by default.
48-
49-
The `dev:worker` script starts a worker that processes jobs from the same pg-boss instance as the dashboard. This is useful for testing the dashboard while jobs are being processed. The worker will stay running until you stop it with Ctrl+C.
50-
5146
### Testing
5247

5348
```bash

0 commit comments

Comments
 (0)