Skip to content

Commit d34f635

Browse files
author
Ben Greenberg
committed
devcontainer setup tweaks
1 parent ff83a51 commit d34f635

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@
88
]
99
}
1010
},
11-
"postCreateCommand": "npm install && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && PATH=\"$HOME/.cargo/bin:$PATH\" && git clone https://github.com/couchbaselabs/couchbase-shell.git && cargo install --path ./couchbase-shell",
11+
"postCreateCommand": "npm install && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && PATH=\"$HOME/.cargo/bin:$PATH\" && git clone https://github.com/couchbaselabs/couchbase-shell.git && cargo build --path ./couchbase-shell && echo 'export PATH=$(pwd)/couchbase-shell/target/debug:$PATH' >> ~/.bashrc && source ~/.bashrc",
1212
"features": {
1313
"ghcr.io/devcontainers/features/node:1": {}
1414
}
15-
}
16-
15+
}

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.env
22
node_modules/
33
.DS_Store
4-
workshop_images/.DS_Store
4+
workshop_images/.DS_Store
5+
config_file/config

config_file/config

Lines changed: 0 additions & 8 deletions
This file was deleted.

config_file/config_example

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# cbsh config file
2+
version = 1
3+
[[cluster]]
4+
identifier = "capella"
5+
connstr = "" # Add your connection string here
6+
user-display-name = "" # Your display name here
7+
username = "" # Replace this with username from cluster access credentials
8+
password = "" # Replace this with password from cluster access credentials
9+
default-bucket = "" # Replace this with the name of the bucket you want to use

0 commit comments

Comments
 (0)