commit | 4aff5fc0d47793a54b4d0972f8ce5bdc61aab2ad | [log] [tgz] |
---|---|---|
author | ZEAL <1120076969@qq.com> | Thu Apr 30 16:38:02 2020 +0800 |
committer | GitHub <noreply@github.com> | Thu Apr 30 16:38:02 2020 +0800 |
tree | 06758e5e6e452f4357e57e82f19e4187916d6f15 | |
parent | 1a8aaf84cb3fc17bfafcf4a75030eaa20b799812 [diff] |
use global axios to support baseURL (#567)
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
registry =https://registry.npm.taobao.org
to ~/.npmrcClone source code on develop branch git clone https://github.com/apache/dubbo-admin.git
Specify registry address in dubbo-admin-server/src/main/resources/application.properties
Build
mvn clean package
Start
mvn --projects dubbo-admin-server spring-boot:run
cd dubbo-admin-distribution/target
; java -jar dubbo-admin-0.1.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-ui/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 admin is under the Apache 2.0 license, Version 2.0. See LICENSE for full license text.