Skip to content

Commit 2e86fbd

Browse files
committed
Added prerequisite
1 parent 6b4dfba commit 2e86fbd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: README.md

+9
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@ func main() {
4040
s.ListenAndServe("nats://localhost:4222")
4141
}
4242
```
43+
> **Prerequisite**
44+
>
45+
> [Install](https://resgate.io/docs/get-started/installation/) *NATS Server* and *Resgate*. Can be done with 3 docker commands:
46+
> ```text
47+
> docker network create res
48+
> docker run -d --name nats -p 4222:4222 --net res nats
49+
> docker run --name resgate -p 8080:8080 --net res resgateio/resgate --nats nats://nats:4222
50+
> ```
51+
4352
4453
## Examples
4554

0 commit comments

Comments
 (0)