update zh readme

master
codeskyblue 8 years ago
parent ab55108001
commit d35b81cf9a

@ -1,7 +1,9 @@
# gosuv
[![Build Status](https://travis-ci.org/codeskyblue/gosuv.svg)](https://travis-ci.org/codeskyblue/gosuv)
## Should not use in production now (current is in beta)
[中文README](README_ZH.md) 不是很全,能看懂英文的还是尽量看英文
## current is in beta
Process management writtern by golang, inspired by python-supervisor
## So why write another supervisor?

@ -1,35 +1,48 @@
##概述
# 概述
GoSuv是GO语言重写的类supervisor的一个进程管理程序简单易用界面美感十足且对用户友好
##中文文档编写者
[Docking](http://miaomia.com)
##安装GoSuv
####在你使用前请确认已经安装好GO 并配置好
go get -d github.com/codeskyblue/gosuv
cd $GOPATH/src/github.com/codeskyblue/gosuv
go build
## 使用
* 启动服务
##使用GoSuv
###启动
```
gosuv start-server
###显示服务状态
```
查看服务状态
```
$ gosuv status
Server is running
### 默认端口11113 本机测试请使用[http://localhost:11313](http://localhost:11313)
![RunImage](https://github.com/codeskyblue/gosuv/blob/master/docs/gosuv.gif)
###配置
####默认配置文件位置 $HOME/.gosuv/
* 项目文件 programs.yml
* 服务器配置文件: config.yml
####验证信息配置
server:
httpauth:
enabled: false
username: uu
password: pp
addr: :11313
client:
server_url: http://localhost:11313
####默认日志文件位置$HOME/.gosuv/log/
##待续
```
默认端口 11113 本机测试请使用[http://localhost:11313](http://localhost:11313)
![RunImage](docs/gosuv.gif)
## 配置
默认配置文件都放在 `$HOME/.gosuv/`
* 项目文件名 programs.yml
* 服务器配置文件名: config.yml
验证信息配置
```yml
server:
httpauth:
enabled: false
username: uu
password: pp
addr: :11313
client:
server_url: http://localhost:11313
```
## 默认日志文件位置
`$HOME/.gosuv/log/`
## 待续
内容不是很多,还是推荐能看懂英语的去看[英文的README](README.md)
## 贡献人
- [Docking](http://miaomia.com)
Loading…
Cancel
Save