Skip to content

Commit

Permalink
Add Ellipsis CLI (and remove BitBuilder CLI) (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrooks authored Dec 4, 2023
1 parent b18a1df commit 47ec9c6
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,33 +9,33 @@
"DOPPLER_TOKEN": "${localEnv:DOPPLER_CLI_TOKEN}"
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
3000,
65455
],

// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/BitBuilder-ai/devcontainer/cli:0.17.2": {} // This adds the BitBuilder CLI
"ghcr.io/ellipsis-dev/devcontainer/cli:0.2.0": {} // This adds the Ellipsis CLI
},


// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
3000,
65455 // Required for Ellipsis
],
"portsAttributes": {
"3000": {
"label": "website"
},
"65455": { // This opens a port, allowing BitBuilder to make code changes in this Codespace when prompted.
"label": "BitBuilder",
"65455": { // This opens a port, allowing the CLI to contact the Ellipsis API
"label": "Ellipsis",
"onAutoForward": "silent",
"requireLocalPort": true
}
},
"postStartCommand": "nohup bash -c 'bb listener start . &'",
"postStartCommand": "nohup bash -c 'bb listener start . &'", // This allows Ellipsis to write file changes in the codespace.

"remoteEnv": {
// Present because this repository is for internal testing.
"BITBUILDER_API_URL": "https://bitbuilder-beta.up.railway.app"
"ELLIPSIS_API_URL": "https://bitbuilder-beta.up.railway.app"
},

// TODO can't get the yarn install within Dockerfile to show up in dev container.
Expand Down

0 comments on commit 47ec9c6

Please sign in to comment.