commit | 1738aad29ddcc118e45c7fd55c7c93adaebdb238 | [log] [tgz] |
---|---|---|
author | Jinkai Ma <majk@vip.qq.com> | Wed Nov 14 17:05:39 2018 +0800 |
committer | Jinkai Ma <majk@vip.qq.com> | Wed Nov 14 17:05:39 2018 +0800 |
tree | 852ef3b6ab62e9c206f9d29635dc66112e0d953e | |
parent | 3c60d07825136aec2399e0f278e3b278f2ccfa5a [diff] |
Add development repository to pom.xml
NOTICE this branch is based on Dubbo 2.7-SNAPSHOT, since this version is not published yet, you need to add a repository to get this dependency:
add configuration below to your maven settings.xml
file, in <repositories>
section:
<repository> <id>apache.snapshots.https</id> <name>Apache Development Snapshot Repository</name> <url>https://repository.apache.org/content/repositories/snapshots</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository>
force update under root path(incubator-dubbo-ops) for the first building: 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/resources/application-production.properties
Build
mvn clean package
Start mvn --projects dubbo-admin-backend spring-boot:run
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 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.