commit | 0168c019804c700c6fe050d05af2d605c42c9e56 | [log] [tgz] |
---|---|---|
author | Yuhao Bi <byh0831@gmail.com> | Mon Jan 21 14:06:08 2019 +0800 |
committer | min <z82507200@gmail.com> | Mon Jan 21 14:06:08 2019 +0800 |
tree | e38ca92f8783f39ab9127c1d9465e3cc4a9e58df | |
parent | d4110eb17f7ab863fb0308cfe70c0b4928e621e5 [diff] |
Add maven wrapper (#263)
develop
branch, you can try it before building from source codeservice governance follows the version of Dubbo 2.7, and compatible for Dubbo 2.6, please refer to here
mvn -Dmaven.test.skip=true clean -U package
Clone source code on develop branch git clone https://github.com/apache/incubator-dubbo-ops.git
Specify registry address in dubbo-admin-backend/src/main/resources/application-production.properties
Build
mvn clean package
Start
mvn --projects dubbo-admin-backend spring-boot:run
cd dubbo-admin-backend/target
; java -jar dubbo-admin-backend-0.0.1-SNAPSHOT.jar
Visit http://localhost:8080
npm run dev
.http://localhost:8081
, frontend supports hot reload.localhost:8080
to fetch data, this will cause a CORS problem, so we add a configuration in dubbo-admin-frontend/config/index.js
to support CORS. This config will be activated under npm run dev
mode.Once deployed, you can check http://localhost:8080/swagger-ui.html to check all restful api and models
Apache Dubbo ops is under the Apache 2.0 license, Version 2.0. See LICENSE for full license text.