> Configuration files (Before packaging application, make sure the correct profile in the MAVEN profiles was selected)
>
* Configuration files
> - `application.properties`
> The generic configuration, it's permanent.
> - `application-develop.properties`
> The configuration for develop, it will be work when you use Maven's `develop` Profile.
> The generic configuration, shared by `application-develop.properties` and `application-production.properties`
> - `application-production.properties` (default)
> The configuration for production, it will be work when you use Maven's `production` Profile. Meanwhile, it's maven's default profile in this project.
> The configuration for production
> - `application-develop.properties`
> The configuration for develop
>
### Build setup
### Production Setup
1. Clone source code on develop branch
2. Specify registry address in `dubbo-admin-backend/src/resources/application-production.properties`
3. Build `mvn clean package`
3. 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`)
backend is a standard spring boot project, you can run it in any java IDE
* Run frontend project
run with `npm 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 in `I18nConfig.java` to support CORS, this configuration will only be active under **develop** mode, please select the right maven profile to support this.
### License
Apache Dubbo ops is under the Apache 2.0 license, Version 2.0.