Skip to content

Commit 284c70f

Browse files
README additional changes (#68)
* Update README.md Added new docker network before creating new alias Signed-off-by: Khushi Trivedi <76205733+trivedi-khushi@users.noreply.github.com> * Update README.md Signed-off-by: Khushi Trivedi <76205733+trivedi-khushi@users.noreply.github.com> * Update README.md Signed-off-by: Khushi Trivedi <76205733+trivedi-khushi@users.noreply.github.com> --------- Signed-off-by: Khushi Trivedi <76205733+trivedi-khushi@users.noreply.github.com>
1 parent 693e0c6 commit 284c70f

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

bun-mongo/README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ sudo mkdir -p /usr/local/bin && sudo mv /tmp/keploy /usr/local/bin && keploy
6565

6666
### Let's start the MongoDB Instance
6767
```zsh
68-
docker-compose up -d
68+
docker-compose up -d mongo
6969
```
7070

71-
> **Since we have setup our sample-app natively, we need to update the mongoDB host on line 41, in `supabun.ts`, from `mongodb://mongoDb-bun:27017/keploy` to `mongodb://loacalhost:27017/keploy`.**
71+
> **Since we have setup our sample-app natively, we need to update the mongoDB host on line 41, in `supabun.ts`, from `mongodb://mongoDb-bun:27017/keploy` to `mongodb://localhost:27017/keploy`.**
7272
7373
### Capture the testcases
7474

@@ -107,10 +107,16 @@ We will get the following output in our terminal
107107

108108
Keploy can be used on Linux & Windows through Docker, and on MacOS by the help of [Colima](https://docs.keploy.io/docs/server/macos/installation/#using-colima).
109109

110+
## Create Network (if it doesn't already exist)
111+
This creates a new docker network isolated from others (named keploy-network)
112+
```bash
113+
docker network create keploy-network
114+
```
115+
110116
## Create Keploy Alias
111-
We need create an alias for Keploy:
117+
Now, we need create an alias for Keploy:
112118
```bash
113-
alias keploy='sudo docker run --pull always --name keploy-v2 -p 16789:16789 --privileged --pid=host -it -v $(pwd):$(pwd) -w $(pwd) -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy'
119+
alias keploy='sudo docker run --pull always --name keploy-v2 --network keploy-network -p 16789:16789 --privileged --pid=host -it -v $(pwd):$(pwd) -w $(pwd) -v /sys/fs/cgroup:/sys/fs/cgroup -v /sys/kernel/debug:/sys/kernel/debug -v /sys/fs/bpf:/sys/fs/bpf -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/keploy/keploy'
114120
```
115121

116122
## Let's start the MongoDB Instance
@@ -155,4 +161,4 @@ We will get the following output in our terminal
155161

156162
# Running the testcases
157163

158-
This is WIP and depended upon the issue by oven/bun & elysia:- https://github.com/elysiajs/elysia/issues/231
164+
This is WIP and depended upon the issue by oven/bun & elysia:- https://github.com/elysiajs/elysia/issues/231

0 commit comments

Comments
 (0)