Skip to content

Commit 12e044d

Browse files
authored
Merge pull request #54 from joshuanianji/automated-documentation-update-8168017963
Automated documentation update
2 parents a33b38d + dd94dc1 commit 12e044d

File tree

1 file changed

+25
-5
lines changed

1 file changed

+25
-5
lines changed

src/edgedb-cli/README.md

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# EdgeDB (edgedb-cli)
33

4-
EdgeDB CLI via the official installation script. Includes the VSCode extension and mounts ~/.local/share/edgedb for data persistence.
4+
EdgeDB CLI via the official installation script. Includes the VSCode extension and mounts the config and data folder.
55

66
## Example Usage
77

@@ -23,6 +23,25 @@ EdgeDB CLI via the official installation script. Includes the VSCode extension a
2323

2424
- `magicstack.edgedb`
2525

26+
## Note to Users
27+
28+
This feature mounts the edgedb config and data folder to the host machine for persistence. To do so, it makes some assumptions about `edgedb info`:
29+
30+
```bash
31+
$ edgedb info
32+
33+
EdgeDB uses the following local paths:
34+
┌────────────┬────────────────────────────────────────┐
35+
│ Cache │ /home/<user>/.cache/edgedb/ │
36+
│ Config │ /home/<user>/.config/edgedb/ │
37+
│ CLI Binary │ /home/<user>/.local/bin/edgedb │
38+
│ Data │ /home/<user>/.local/share/edgedb/data/ │
39+
│ Service │ /home/<user>/.config/systemd/user/ │
40+
└────────────┴────────────────────────────────────────┘
41+
```
42+
43+
**These paths may change based on the OS!**. This feature is tested on Ubuntu and Debian and the paths match up, but may not work for others.
44+
2645
## OS and Architecture Support
2746

2847
Architectures: `amd` and `arm`
@@ -33,10 +52,11 @@ Shells: `bash`, `zsh`, `fish`
3352

3453
## Changelog
3554

36-
| Version | Notes |
37-
| ------- | ---------------------- |
38-
| 1.0.1 | Fix for non-root users |
39-
| 1.0.0 | Initial Version |
55+
| Version | Notes |
56+
| ------- | -------------------------- |
57+
| 1.0.2 | Cache edgedb config folder |
58+
| 1.0.1 | Fix for non-root users |
59+
| 1.0.0 | Initial Version |
4060

4161

4262
---

0 commit comments

Comments
 (0)