Skip to content
This repository was archived by the owner on Aug 2, 2018. It is now read-only.

Commit fd80942

Browse files
committed
update readme
1 parent 2f5c770 commit fd80942

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,15 @@
1919
- 运行主程序。运行方法(三选一)
2020
1. 方法一: 在[release](https://github.com/sundy-li/wechat_brain/releases)页面下载对应的操作系统执行文件, 解压后, 将最新版本的[questions.data](https://github.com/sundy-li/wechat_brain/blob/master/questions.data) 文件下载到同一个目录, 然后运行brain文件即可,命令行输入`./brain`
2121
2. 方法二: 安装go(>=1.8)环境后, clone本repo源码到对应`$GOPATH/src/github.com/sundy-li/`下, 进入源码目录后,执行 `go run cmd/main.go`。
22-
3. 方法三: 使用docker命令运行:`docker build . -t wechat_brain && docker run -p 8998:8998 --name my_wechat_brain -d wechat_brain`
22+
3. 方法三: 使用docker命令运行:
23+
24+
25+
git clone https://github.com/sundy-li/wechat_brain.git
26+
cd wechat_brain
27+
docker build . -t wechat_brain
28+
docker run -p 8998:8998 --name my_wechat_brain -d wechat_brain
29+
30+
2331

2432
- 新版本(version >= v0.18)加入了三种模式, 大家根据自己的需求选择模式运行
2533
1. 模式一: 默认模式, 修改了服务端返回的数据, 更加友好地提示正确答案, 运行方式如上所述: `./brain` 或者源码下执行 `go run cmd/main.go`

0 commit comments

Comments
 (0)