Skip to content

Commit d0e2161

Browse files
committed
Update README.md.
1 parent 1f8a9f4 commit d0e2161

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

README.md

+11-9
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,16 @@ An iot server that bridge between the private tcp protocol device and egccri.
33

44
_[WIP] Distributed version use openraft._
55

6-
#### How it worked.
6+
#### Quick start
7+
8+
```shell
9+
cargo build
10+
./target/debug/iot-server-template -c ./config/cluster/cluster_1.toml
11+
./target/debug/iot-server-template -c ./config/cluster/cluster_2.toml
12+
./target/debug/iot-server-template -c ./config/cluster/cluster_3.toml
13+
```
14+
15+
#### How tcp server worked.
716

817
![how it worked](asserts/imgs/img.png)
918

@@ -17,13 +26,6 @@ Raft storage is an optional embedded distribute storage for the cluster router c
1726

1827
The other way is redis.
1928

20-
#### RPC calls
29+
##### Raft storage RPC calls
2130

2231
![RPC calls](asserts/imgs/rpcs.png)
23-
24-
#### Quick start
25-
26-
```shell
27-
cargo build
28-
./target/debug/iot-server-template -c ./config/config.toml
29-
```

0 commit comments

Comments
 (0)