Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: update demo data (#15516)

Danny Xucac1a29de0c9
diff --git a/backend/demo/README.md b/backend/demo/README.md
index 923216bc06..afeb71b1b1 100644
--- a/backend/demo/README.md
+++ b/backend/demo/README.md
@@ -7,8 +7,11 @@ This is the demo data for https://demo.bytebase.com.
# How to update demo data
1. Build and start Bytebase backend with `--demo default` on main branch.
+```bash
+go build -p=16 -ldflags "-w -s" -o ./.air/bytebase ./backend/bin/server/main.go && ./.air/bytebase --port 8080 --data . --debug --demo=default
+```
-1. Dump with the following command.
+2. Dump with the following command.
```bash
pg_dump -h /tmp -p 8082 -U bb --disable-triggers --no-owner --column-inserts --on-conflict-do-nothing > ~/dump.sql