Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
fv3386 committed Jul 14, 2015
1 parent 61022dd commit 96ad64e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 11 deletions.
18 changes: 11 additions & 7 deletions LION.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ Lion 是一个配置管理平台,可以实时推送配置变更。

#### 2.2.2 appenv 文件格式如下

deployenv:环境,如 dev <br/>
zkserver:ZK 服务器地址,如 dev.lion.dp:2181 <br/>
swimlane:泳道(可选),一般为空 <br/>
<table>
<tr><td>deployenv</td><td>环境,如 dev</td></tr>
<tr><td>zkserver</td><td>ZK 服务器地址,如 dev.lion.dp:2181</td></tr>
<tr><td>swimlane</td><td>泳道(可选),一般为空</td></tr>
</table>

#### 2.2.3 各环境标准 appenv 文件如下
* dev
Expand Down Expand Up @@ -189,9 +191,11 @@ key = app.name + "." + (camel case => dotted string)

假设 app.name = "lion-test",示例如下:

**Field** ==>> **Key** <br/>
zookeeperAddress ==>> lion-test.zookeeper.address <br/>
propertiesPath ==>> lion-test.properties.path <br/>
includeLocalProps ==>> lion-test.include.local.props <br/>
<table>
<tr><td>Field</td><td>Key</td></tr>
<tr><td>zookeeperAddress</td><td>lion-test.zookeeper.address</td></tr>
<tr><td>propertiesPath</td><td>lion-test.properties.path</td></tr>
<tr><td>includeLocalProps</td><td>lion-test.include.local.props</td></tr>
</table>


15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Lion
====

# Lion
-----
### Release notes
[Release notes](http://code.dianpingoa.com/arch/lion/blob/master/RELEASE.md)

[User guide](http://code.dianpingoa.com/arch/lion/blob/master/LION.md)
### User guide
[User guide](http://code.dianpingoa.com/arch/lion/blob/master/LION.md)

### Comitters
jian.liu<br/>
hua.chen

### More

0 comments on commit 96ad64e

Please sign in to comment.