Skip to content

Commit 389d03c

Browse files
officialasishkumaractions-user
authored andcommitted
feat: update native docs
Signed-off-by: Asish Kumar <officialasishkumar@gmail.com>
1 parent e55c4b3 commit 389d03c

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

versioned_docs/version-3.0.0/keploy-cloud/deduplication.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,31 +45,27 @@ Add the following on top of your main application file : -
4545
import _ "github.com/keploy/go-sdk/v3/keploy"
4646
```
4747

48-
Update the go build command in Dockerfile to add new flags which is required for deduplication (this is not required for native)
48+
Update the go build command in Dockerfile to add new flags which is required for deduplication (use same flags for native builds)
4949

5050
```bash
5151
RUN go build -cover -covermode=atomic -coverpkg=./... -o /app/main .
5252
```
5353

5454
**2. Run Deduplication**
5555

56-
5756
For Docker, run:
5857

59-
6058
```bash
6159
keploy test -c "docker compose up" --containerName containerName --dedup
6260
```
6361

64-
For Native, run:
62+
For Native, run:
6563

6664
```bash
6765
keploy test -c ./main --dedup
6866
```
6967

70-
where `./main` is the binary produced by doing `go build -cover -covermode=atomic -coverpkg=./... -o ./main .`
71-
72-
This will generate a dedupData.yaml file
68+
This will generate a dedupData.yaml file
7369

7470
After this Run
7571

0 commit comments

Comments
 (0)