1
0
mirror of https://github.com/fumiama/simple-kanban.git synced 2026-06-06 17:00:27 +08:00

Update README.md

This commit is contained in:
源文雨
2021-06-07 14:25:53 +08:00
committed by GitHub
parent c1f3be1042
commit e737a1bcc5

View File

@@ -6,7 +6,7 @@
您需要首先安装[simple-protobuf](https://github.com/fumiama/simple-protobuf),并记住安装路径。如果安装路径不是`/usr/local`,需要手动更改`CMakeLists.txt`的路径指向正确位置。
```bash
git clone https://github.com/fumiama/simple-protobuf.git
cd simple-protobuf
mkdir build
cd build
cmake ..
make
@@ -24,6 +24,7 @@ mkdir build
cd build
cmake ..
make
make install
```
# 数据格式
@@ -36,7 +37,7 @@ make
## 0. 启动程序
```bash
./simple-kanban [-d] 7777 1 ./kanban.txt ./data.bin ./cfg.sp
simple-kanban [-d] 7777 1 ./kanban.txt ./data.bin ./cfg.sp
```
1. -d为可选项如果添加程序将以daemon状态运行。
@@ -62,8 +63,8 @@ make
## 4. 设置看板
- 发送:`SETPASS`
- 返回:`SETPASS`
- 发送:set`SETPASS`
- 返回:set`SETPASS`
- 发送ver
- 返回data
- 发送:头+新的看板
@@ -71,8 +72,8 @@ make
## 5. 设置数据
- 发送:`SETPASS`
- 返回:`SETPASS`
- 发送:set`SETPASS`
- 返回:set`SETPASS`
- 发送dat
- 返回data
- 发送:头+新的数据
@@ -104,4 +105,4 @@ make
键入quit
回车即可
回车即可