Skip to content

Commit 0cb6cd6

Browse files
authored
Merge pull request #73 from joshuanianji/automated-documentation-update-14125098335
Automated documentation update
2 parents bf55a46 + d894683 commit 0cb6cd6

File tree

2 files changed

+80
-0
lines changed

2 files changed

+80
-0
lines changed

src/edgedb-cli/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
### **IMPORTANT NOTE**
2+
- **This Feature is deprecated, and will no longer receive any further updates/support.**
13

24
# EdgeDB (edgedb-cli)
35

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

2426
- `magicstack.edgedb`
2527

28+
## Deprecation Notes
29+
30+
Please use [joshuanianji/gel-cli](https://github.com/joshuanianji/devcontainer-features/tree/main/src/gel-cli) instead. See: [EdgeDB is now Gel and Postgres is the Future](https://www.geldata.com/blog/edgedb-is-now-gel-and-postgres-is-the-future)
31+
2632
## Usage
2733

2834
**The EdgeDB instance should not be in the same container as the CLI.** My experience doing so makes the `edgedb ui` command start failing once you restart the container. I recommend the following options:

src/gel-cli/README.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
2+
# Gel CLI (gel-cli)
3+
4+
Gel CLI (previously EdgeDB) via the official installation script. Includes the VSCode extension and mounts the config and data folder.
5+
6+
## Example Usage
7+
8+
```json
9+
"features": {
10+
"ghcr.io/joshuanianji/devcontainer-features/gel-cli:1": {}
11+
}
12+
```
13+
14+
## Options
15+
16+
| Options Id | Description | Type | Default Value |
17+
|-----|-----|-----|-----|
18+
19+
20+
## Customizations
21+
22+
### VS Code Extensions
23+
24+
- `magicstack.edgedb`
25+
26+
## Usage
27+
28+
**The Gel database instance should not be in the same container as the CLI.** My experience doing so makes the `gel ui` command start failing once you restart the container. I recommend the following options:
29+
30+
1. Use a docker-compose template with two services: one for the CLI and one for the Gel database instance.
31+
32+
You can either use the [javascript-node-edgedb](https://github.com/joshuanianji/devcontainer-templates/blob/main/src/javascript-node-edgedb) or the [rust-edgedb](https://github.com/joshuanianji/devcontainer-templates/blob/main/src/rust-edgedb) templates, or use them as references to make your own.
33+
34+
Once inside the devcontainer, you can run `gel instance link` to connect the CLI to the instance. Check the templates above for more details.
35+
36+
2. Connect to a cloud instance [with `gel cloud`](https://docs.edgedb.com/cloud/cli).
37+
38+
## Notes on Volume Mounts
39+
40+
This feature mounts the gel config and data folder for persistence. To do so, it makes some assumptions about `gel info`:
41+
42+
```bash
43+
$ gel info
44+
45+
Gel uses the following local paths:
46+
┌────────────┬────────────────────────────────────────┐
47+
│ Cache │ /home/<user>/.cache/gel/ │
48+
│ Config │ /home/<user>/.config/gel/ │
49+
│ CLI Binary │ /home/<user>/.local/bin/gel │
50+
│ Data │ /home/<user>/.local/share/gel/data/ │
51+
│ Service │ /home/<user>/.config/systemd/gel/ │
52+
└────────────┴────────────────────────────────────────┘
53+
```
54+
55+
**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.
56+
57+
## OS and Architecture Support
58+
59+
Architectures: `amd` and `arm`
60+
61+
OS: `ubuntu`, `debian`
62+
63+
Shells: `bash`, `zsh`, `fish`
64+
65+
## Changelog
66+
67+
| Version | Notes |
68+
| ------- | ------------------------------------- |
69+
| 1.0.0 | Initial Version (migrate from EdgeDB) |
70+
71+
72+
---
73+
74+
_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/joshuanianji/devcontainer-features/blob/main/src/gel-cli/devcontainer-feature.json). Add additional notes to a `NOTES.md`._

0 commit comments

Comments
 (0)