-
Install Java SE Development Kit (JDK)
PLease refer to JDK install guide on how to install JDK.
PLease refer to Maven install guide on how to install Maven.
-
Pull We-CMDB source code from github
git clone [email protected]:WeBankPartners/we-cmdb.git
-
Compile
cd we-cmdb mvn clean package -Dmaven.test.skip=true
-
Start local standalone package
java -jar -Dspring.profiles.active=en-local cmdb-core/target/cmdb-core-*.jar
-
Enter the following url in the browser http://localhost:9080/wecmdb/
Note Specify the
spring.profiles.active=en-local
parameter to start the We-CMDB service. The system will start the in-memory database H2 and configure it as > the system database source, initialize the schema and insert test data.