README.md 1.5 KB
Newer Older
A
ainilife 已提交
1
CAT
F
Frankie Wu 已提交
2
===
Y
yong.you 已提交
3 4
<hr>
Central Application Tracking  [![Build Status](https://travis-ci.org/dianping/cat.png?branch=biz)](https://travis-ci.org/dianping/cat)
Y
yong.you 已提交
5

A
ainilife 已提交
6 7 8 9
Quick Started
---------------------
#####1、安装Java 6+,Maven以及MySQL
#####2、cd到CAT目录下,用maven构建项目
A
ainilife 已提交
10
        mvn eclipse:clean eclipse:eclipse
A
ainilife 已提交
11
#####3、安装CAT的maven plugin,使用它配置CAT的环境
A
ainilife 已提交
12
		cd cat-maven-plugin;mvn cat:install
A
ainilife 已提交
13
		
H
Hao Zhu 已提交
14
确保系统的临时目录程序拥有读写权限,Linux为/tmp/目录
A
ainilife 已提交
15
#####5、如果你安装了hadoop集群,请到/data/appdatas/cat/server.xml中配置对应hadoop信息,并将localmode设置为false。默认情况下,CAT在localmode=true的开发模式下工作。
A
ainilife 已提交
16
#####4、运行CAT
A
ainilife 已提交
17 18 19
开发模式下有两种方式启动:
方式一:
		cd cat-home;mvn jetty:run		
H
Hao Zhu 已提交
20
然后浏览http://localhost:2281
A
ainilife 已提交
21 22
方式二:
将项目导入到eclipse中,运行cat-home项目里得‘com.dianping.cat.TestServer’来启动CAT。
A
ainilife 已提交
23 24 25 26 27 28 29 30 31

Copyright and license
---------------------
Copyright 2013 DianPing, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

<http://www.apache.org/licenses/LICENSE-2.0>

H
Hao Zhu 已提交
32
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.