更新时延计算
This commit is contained in:
12
README.md
12
README.md
@@ -38,19 +38,7 @@ CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -o bin/server-linux-armv7 .
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -o bin/peer-linux-armv7 ./cmd/peer
|
||||
```
|
||||
|
||||
## Deploy
|
||||
|
||||
把对应架构的二进制拷到目标机器,并赋予可执行权限。
|
||||
|
||||
```bash
|
||||
scp bin/server-linux-amd64 user@server-host:~/omnisocket/server
|
||||
scp bin/peer-linux-amd64 user@peer-host:~/omnisocket/peer
|
||||
```
|
||||
|
||||
```bash
|
||||
ssh user@server-host 'chmod +x ~/omnisocket/server'
|
||||
ssh user@peer-host 'chmod +x ~/omnisocket/peer'
|
||||
```
|
||||
|
||||
## Run On Different Machines
|
||||
|
||||
|
||||
Reference in New Issue
Block a user