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