commit | 7dabd4b619f471daf10981cdb87e06497c3d6409 | [log] [tgz] |
---|---|---|
author | Huang YunKun <htynkn@gmail.com> | Sun May 03 18:04:40 2020 +0800 |
committer | GitHub <noreply@github.com> | Sun May 03 18:04:40 2020 +0800 |
tree | cc63cba728e979c500eb2888b8c7cfd736dc8cbc | |
parent | 6c101d21b68510bae9ab47cb2172cee37946a5d5 [diff] |
fix dockerfile (#602)
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.