Skip to content

Commit

Permalink
docs: add instructions for setting up and running the NATS server and…
Browse files Browse the repository at this point in the history
… tests

- Add instructions for setting up the NATS server
- Add code block for running the NATS server
- Add instructions for running the tests

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Dec 6, 2023
1 parent 4f4fe83 commit 222068b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ NATS as backend with [Queue package](https://github.com/golang-queue/queue) (Con

## Testing

setup the nats server

```sh
docker run -d --name nats-main -p 4222:4222 -p 8222:8222 nats:latest
```

run the test

```sh
go test -v ./...
```
Expand Down

0 comments on commit 222068b

Please sign in to comment.