Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Commit 64ca5d6

Browse files
committed
make copy of dist in docs
1 parent 205f206 commit 64ca5d6

File tree

1,125 files changed

+46019
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,125 files changed

+46019
-0
lines changed

docs/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

docs/README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
2+
# Postgres Browser
3+
4+
> Web shell to interact with [PostgreSQL](https://www.postgresql.org/) in the browser
5+
6+
## :zap: Getting started
7+
8+
1. Run `npx serve` and go to `http://localhost:3000`
9+
2. There is no step 2
10+
11+
## :hammer_and_wrench: Update the filesystem
12+
13+
1. Run the build process in the [buildroot](/packages/buildroot/README.md#getting-started) package
14+
15+
2. Synchronize the new filesystem using:
16+
17+
```bash
18+
./scripts/sync-fs.sh
19+
```
20+
21+
3. [Cold boot and save a new snapshot](#cold-boot-and-saving-a-new-snapshot)
22+
23+
## :snowflake: Cold boot and saving a new snapshot
24+
25+
1. Go the `http://localhost:3000?boot=true`
26+
27+
2. Once the boot is completed, clear the cache and start psql (the runtime assumes psql is running when it loads a snapshot):
28+
`echo 3 > /proc/sys/vm/drop_caches && echo 3 > /proc/sys/kernel/printk && reset && psql -U postgres`
29+
30+
3. Save the state to a file clicking the `Save state to file` button
31+
32+
4. Put the state file into the `state` folder and compress it using [zstd](https://github.com/facebook/zstd):
33+
34+
```bash
35+
zstd --ultra -22 state/v86state.bin && rm state/v86state.bin
36+
```
37+
38+
5. Go to `http://localhost:3000`, instant boot!
39+

docs/bios/seabios.bin

128 KB
Binary file not shown.

docs/bios/vgabios.bin

35 KB
Binary file not shown.

docs/filesystem/00023527.bin

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# dblink extension
2+
comment = 'connect to other PostgreSQL databases from within a database'
3+
default_version = '1.2'
4+
module_pathname = '$libdir/dblink'
5+
relocatable = true

docs/filesystem/00987aa2.bin

153 Bytes
Binary file not shown.

docs/filesystem/00dcf060.bin

1.26 KB
Binary file not shown.

docs/filesystem/0188973b.bin

104 KB
Binary file not shown.

docs/filesystem/02041da7.bin

32 KB
Binary file not shown.

docs/filesystem/0215fbf2.bin

218 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)