Skip to content

Commit

Permalink
docs: added more simple info about ignoring ts and fixing keploy-netw…
Browse files Browse the repository at this point in the history
…ork not found (#84)
  • Loading branch information
aswinbennyofficial authored Dec 5, 2023
1 parent 0ef2463 commit c2fc551
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions echo-sql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,20 @@ sudo mkdir -p /usr/local/bin && sudo mv /tmp/keploy /usr/local/bin && keploy

### Start Postgres Instance

Using the docker-compose file we will start our postgres instance:-
Using the docker-compose file we will start our postgres instance ( use `podman-compose` if you are using RHEL based distribution ):-

```bash
# Start Postgres
docker-compose up -d
```

If there is an error saying keploy-network could not be found. Use the following command to create the docker network

```bash
docker network create keploy-network
```


### Capture the Testcases

> **Since, we are on the local machine the Postgres Host will be `localhost`.**
Expand Down Expand Up @@ -105,7 +113,10 @@ Now, let's see the magic! ✨💫

Now that we have our testcase captured, we will add `ts` to noise field in `test-*.yaml` files.

**1. On line 32 we will add "`- body.ts`" under the "`header.data`".**
**1. On line 32 we will add "`body.ts: []`" under the "`header.Date: []`".**

![EliminateNoise](https://github.com/aswinbennyofficial/samples-go/assets/110408942/2b50d994-3418-4f7b-9f95-5bc1acd8ecf9)


Now let's run the test mode (in the echo-sql directory, not the Keploy directory).

Expand Down

0 comments on commit c2fc551

Please sign in to comment.