Skip to content

Commit 688affa

Browse files
committed
chore: update readme
1 parent 48121ec commit 688affa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,22 +156,22 @@ npx @bytebase/dbhub --transport sse --port 8080 --demo
156156
You can use DBHub in demo mode with a sample employee database for testing:
157157

158158
```bash
159-
pnpm dev --demo
159+
npx @bytebase/dbhub --demo
160160
```
161161

162162
For real databases, a Database Source Name (DSN) is required. You can provide this in several ways:
163163

164164
- **Command line argument** (highest priority):
165165

166166
```bash
167-
pnpm dev --dsn "postgres://user:password@localhost:5432/dbname?sslmode=disable"
167+
npx @bytebase/dbhub --dsn "postgres://user:password@localhost:5432/dbname?sslmode=disable"
168168
```
169169

170170
- **Environment variable** (second priority):
171171

172172
```bash
173173
export DSN="postgres://user:password@localhost:5432/dbname?sslmode=disable"
174-
pnpm dev
174+
npx @bytebase/dbhub
175175
```
176176

177177
- **Environment file** (third priority):

0 commit comments

Comments
 (0)