2. Choose profile file in the Maven Projects tool window to activate profiles.
1. Open the Maven Projects tool window.
2. Click the Profiles node to open a list of declared profiles.
3. Select the appropriate checkboxes to activate the profiles you need.
* Select configuration files in Eclipse
1. import project
2. In **Project Explorer**, right click `dubbo-admin-backend`
...
...
@@ -66,13 +66,16 @@
* Run frontend project
run with `npm run dev`
* visit webpage
visit `localhost://localhost:8081`, frontend support hot reload.
visit `http://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.
### Swagger supoort
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](https://github.com/apache/incubator-dubbo-ops/blob/develop/LICENSE) for full license text.
See [LICENSE](https://github.com/apache/incubator-dubbo-ops/blob/develop/LICENSE) for full license text.