- Vue.js and Vuetify
- dubbo-admin-frontend/README.md for more detail
- Configuration files
application.properties
The generic configuration, shared byapplication-develop.properties
andapplication-production.properties
application-production.properties
(default)
The configuration for productionapplication-develop.properties
The configuration for develop
-
Clone source code on develop branch
-
Specify registry address in
dubbo-admin-backend/src/resources/application-production.properties
-
Build
- select configuration files via command line
mvn clean package -Pproduction
will active production configuration(application-production.properties
)mvn clean package -Ddevelop
will active develop configuration(application-develop.properties
)
-
Start
mvn --projects dubbo-admin-backend spring-boot:run
-
Visit
http://localhost:8080
-
Configuration in IDE
-
Select configuration files in Intellij Idea
-
Choose profile file during project importing
-
Choose profile file in the Maven Projects tool window to activate profiles.
- Open the Maven Projects tool window.
- Click the Profiles node to open a list of declared profiles.
- Select the appropriate checkboxes to activate the profiles you need.
-
-
Select configuration files in Eclipse
-
-
Run backend project
backend is a standard spring boot project, you can run it in any java IDE -
Run frontend project
run withnpm run dev
-
visit webpage visit
localhost://localhost:8081
, frontend support hot reload. -
CORS problem in this development mode, frontend will request
localhost:8080
to fetch data, this will cause a CORS problem, so we add a configuration inI18nConfig.java
to support CORS, this configuration will only be active under develop mode, please select the right maven profile to support this.
Apache Dubbo ops is under the Apache 2.0 license, Version 2.0. See LICENSE for full license text.