Browse Source

Update README

pull/3/head
miraclesu 8 years ago
parent
commit
3c2aad71b1
  1. 17
      README.md

17
README.md

@ -45,21 +45,24 @@
## Getting started
### Building the source
### Setup / installation
Building with the source
```
cd $GOPATH/src
git clone https://github.com/shunfei/cronsun.git
cd cronsun
go get -u github.com/shunfei/cronsun
cd $GOPATH/src/github.com/shunfei/cronsun
sh ./build.sh
```
Or install with the binary [releases](https://github.com/shunfei/cronsun/releases)
执行文件和配置文件在 `dist` 文件夹
### Run
1. 安装 [MongoDB](http://docs.mongodb.org/manual/installation/)
2. 安装 [etcd](https://github.com/coreos/etcd)
2. 安装 [etcd3](https://github.com/coreos/etcd)
3. 修改 `conf` 相关的配置
4. 在任务结点启动 `./cronnode -conf conf/base.json`,在管理结点启动 `./cronweb -conf conf/base.json`
5. 访问管理界面 `http://127.0.0.1:7079/ui/`
@ -83,3 +86,7 @@ sh ./build.sh
**Node**:
![](doc/img/node.png)
## Credits
cron is base on [robfig/cron](https://github.com/robfig/cron)

Loading…
Cancel
Save