Phoenix is:
- A powerful customized J2EE web container (JBoss, Jetty, Tomcat)
- The cutting-edge rollout tools for kernel Java libraries in Dianping.com
- And more ...
It's originated from a Dianping hackathon product (Egret), and fully re-designed by Frankie Wu, marsqing Ma, Bin Miao, Figo Yang and Jian Liu.
Prerequisite:
- JDK 1.6.0 or above
- Maven 3.0.3 or above
- Tomcat 6 or JBoss 4
Installation:
git clone [email protected]:dianping/phoenix.git
cd phoenix/phoenix-samples/
mvn install
cd ..
Run with Tomcat:
export TOMCAT_HOME={TOMCAT_HOME}
misc/integration_test.sh -g com.dianping.platform -a sample-app1 -v 0.1-SNAPSHOT -c tomcat
Run with JBoss:
export JBOSS_HOME={JBOSS_HOME}
misc/integration_test.sh -g com.dianping.platform -a sample-app1 -v 0.1-SNAPSHOT -c jboss
Check:
open http://localhost:8080
open http://localhost:8080/inspect/home
Attentions:
- Using DianPing private maven repository (192.168.8.45)
- Currently only tested under Mac OSX 10.8
- Frankie Wu
- marsqing Ma
- Bin Miao
- Figo Yang
- Jian Liu
Copyright 2012 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
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.