Skip to content

Commit 4093b87

Browse files
authored
Added README to testing with Docker (#3)
1 parent d5d0da6 commit 4093b87

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

pink/rondis/README.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Rondis
2+
3+
## Running unit tests via Docker
4+
5+
In case you are developing inside a Docker container and you wish to run unit tests against a RonDB cluster, you can choose between
6+
7+
1. RonDB running as part of MTR tests
8+
2. RonDB running as a separate Docker Compose cluster
9+
10+
In case you decide for the latter, you can spin up a cluster using [rondb-docker](https://github.com/logicalclocks/rondb-docker). Make sure when running it to have at least one open API slot with no Hostname specified. When a Docker Compose cluster is running, the container you are running from has to be added to the network of this cluster. Do so by running the following commands:
11+
12+
```bash
13+
docker network list # Search for the network name of the Docker Compose cluster
14+
docker network connect <cluster network> <development container id>
15+
```
16+
17+
Once this is done, the Rondis server can be started up using:
18+
```bash
19+
./pink/rondis/rondis 1186 mgmd_1
20+
```
21+
22+
whereby, `mgmd_1` is the container name of the first Management server.

0 commit comments

Comments
 (0)