update REAME to get Dubbo 2.7-SNAPSHOT
2 files changed
tree: 67e776ccbe9f7068d5b417b8a1c7373f2844600c
  1. doc/
  2. dubbo-admin-backend/
  3. dubbo-admin-frontend/
  4. .gitignore
  5. .travis.yml
  6. LICENSE
  7. pom.xml
  8. README.md
  9. README_ZH.md
README.md

Dubbo ops

Build Status codecov license

中文说明

Screenshot

index

Frontend

Backend

  • Standard spring boot project

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>
    

Production Setup

  1. Clone source code on develop branch git clone https://github.com/apache/incubator-dubbo-ops.git

  2. Specify registry address in dubbo-admin-backend/src/resources/application-production.properties

  3. Build

    • mvn clean package
  4. Start mvn --projects dubbo-admin-backend spring-boot:run

  5. Visit http://localhost:8080


Development Setup

  • Run backend project
    backend is a standard spring boot project, you can run it in any java IDE
  • Run frontend project
    run with npm run dev.
  • visit web page
    visit http://localhost:8081, frontend supports hot reload.
  • CORS problem
    for the convenience of development, we deploy frontend and backend separately, so the frontend supports hot reload. In this mode, frontend will request 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.

Swagger support

Once deployed, you can check http://localhost:8080/swagger-ui.html to check all restful api and models

License

Apache Dubbo ops is under the Apache 2.0 license, Version 2.0. See LICENSE for full license text.