This is an automated email from the ASF dual-hosted git repository.

min pushed a commit to branch 0.1-release
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-ops.git


The following commit(s) were added to refs/heads/0.1-release by this push:
     new 2eb807b  change package name
2eb807b is described below

commit 2eb807b0cfaeac3bc8b387068d4be3a5ca2fb89d
Author: nzomkxia <[email protected]>
AuthorDate: Sat Feb 2 17:38:35 2019 +0800

    change package name
---
 LICENSE                     |  4 ++--
 README.md                   | 15 ++++++++-------
 README_ZH.md                | 15 ++++++++-------
 dubbo-admin-ui/README.md    |  4 ++--
 dubbo-admin-ui/package.json |  2 +-
 5 files changed, 21 insertions(+), 19 deletions(-)

diff --git a/LICENSE b/LICENSE
index 163d978..d119079 100644
--- a/LICENSE
+++ b/LICENSE
@@ -209,11 +209,11 @@ and license terms. Your use of these submodules is 
subject to the terms and
 conditions of the following licenses.
 
 ================================================================
-For dubbo-admin-frontend/static/fonts
+For dubbo-admin-ui/static/fonts
 This product bundles files from google fonts roboto which is licensed under 
the Apache License v2
 For details, see https://github.com/google/fonts/tree/master/apache/roboto
 
-For dubbo-admin-frontend/static/OpenSans.css
+For dubbo-admin-ui/static/OpenSans.css
 This product bundles files from google material design icons which is licensed 
under the Apache License v2
 For details, see 
https://github.com/google/material-design-icons/blob/2.2.0/LICENSE
 
diff --git a/README.md b/README.md
index f13fd39..c45499b 100644
--- a/README.md
+++ b/README.md
@@ -14,12 +14,12 @@
 
 ### Service Governance  
 service governance follows the version of Dubbo 2.7, and compatible for Dubbo 
2.6, please refer to 
[here](https://github.com/apache/incubator-dubbo-ops/wiki/The-compatibility-of-service-governance)
-### Frontend
+### admin UI
 
 - [Vue.js](https://vuejs.org) and [Vuetify](https://vuetifyjs.com)
-- [dubbo-admin-frontend/README.md](dubbo-admin-frontend/README.md) for more 
detail
+- [dubbo-admin-ui/README.md](dubbo-admin-ui/README.md) for more detail
 
-### Backend
+### admin Server
 
 * Standard spring boot project
 * [configurations in 
application.properties](https://github.com/apache/incubator-dubbo-ops/wiki/Dubbo-Admin-configuration)
@@ -32,7 +32,8 @@ service governance follows the version of Dubbo 2.7, and 
compatible for Dubbo 2.
 2. Specify registry address in 
`dubbo-admin-server/src/main/resources/application-production.properties`
 3. Build
 
-    > - `mvn clean package`
+    > - `mvn clean package`  
+    **NOTICE** if a failure like `Cannot find module 
/xxxx/incubator-dubbo-ops/dubbo-admin-ui/node/node_modules/npm/bin/npm-cli.js`, 
please run `npm uninstall v9.11.1` first, and repeat this step
 4. Start 
     * `mvn --projects dubbo-admin-server spring-boot:run`  
     OR
@@ -41,14 +42,14 @@ service governance follows the version of Dubbo 2.7, and 
compatible for Dubbo 2.
 ---
 
 ### Development Setup
-* Run backend project
+* Run admin server project
    backend is a standard spring boot project, you can run it in any java IDE
-* Run frontend project
+* Run admin ui 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 be activated under `npm run dev` mode.
+    for the convenience of development, we deploy ui and server 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-ui/config/index.js` to support CORS. This config 
will be activated under `npm run dev` mode.
 
 ### Swagger support
 
diff --git a/README_ZH.md b/README_ZH.md
index 0e59665..0b0c182 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -17,7 +17,7 @@
 ### 前端部分
 
 - 
使用[Vue.js](https://vuejs.org)作为javascript框架,[Vuetify](https://vuetifyjs.com)作为UI框架
-- [dubbo-admin-frontend/README.md](dubbo-admin-frontend/README.md)中有更详细的介绍
+- [dubbo-admin-ui/README.md](dubbo-admin-ui/README.md)中有更详细的介绍
 
 ### 后端部分
 
@@ -32,7 +32,8 @@
 2. 在 
`dubbo-admin-server/src/main/resources/application-production.properties`中指定注册中心地址
 3. 构建
 
-    > - `mvn clean package`
+    > - `mvn clean package`  
+    **注意** 如果出现 `Cannot find module 
'/xxx/incubator-dubbo-ops/dubbo-admin-ui/node/node_modules/npm/bin/npm-cli.js`,请先执行`npm
 uninstall v9.11.1`, 再执行本步骤
 4. 启动 
    * `mvn --projects dubbo-admin-server spring-boot:run`   
    或者   
@@ -41,14 +42,14 @@
 ---
 
 ### 开发环境配置
-* 运行`dubbo admin backend`
-   `dubbo admin backend`是一个标准的spring boot项目, 可以在任何java IDE中运行它
-* 运行`dubbo admin frontend`
-  `dubbo admin frontend`由npm管理和构建,在开发环境中,可以单独运行: `npm run dev`
+* 运行`dubbo admin server`
+   `dubbo admin server`是一个标准的spring boot项目, 可以在任何java IDE中运行它
+* 运行`dubbo admin ui`
+  `dubbo admin ui`由npm管理和构建,在开发环境中,可以单独运行: `npm run dev`
 * 页面访问
   访问 `http://localhost:8081`, 由于前后端分开部署,前端支持热加载,任何页面的修改都可以实时反馈,不需要重启应用。
  * 跨域问题
-    为了方便开发,我们提供了这种前后端分离的部署模式,主要的好处是支持前端热部署,在这种模式下,前端会通过8080端口访问后端的restful 
api接口,获取数据, 
这将导致跨域访问的问题。因此我们在`dubbo-admin-frontend/config/index.js`添加了支持跨域访问的配置,当前端通过`npm 
run dev`单独启动时,这些配置将被激活,允许跨域访问
+    为了方便开发,我们提供了这种前后端分离的部署模式,主要的好处是支持前端热部署,在这种模式下,前端会通过8080端口访问后端的restful 
api接口,获取数据, 
这将导致跨域访问的问题。因此我们在`dubbo-admin-ui/config/index.js`添加了支持跨域访问的配置,当前端通过`npm run 
dev`单独启动时,这些配置将被激活,允许跨域访问
 
 ### Swagger 支持
 
diff --git a/dubbo-admin-ui/README.md b/dubbo-admin-ui/README.md
index ed7797c..fe8a2c1 100644
--- a/dubbo-admin-ui/README.md
+++ b/dubbo-admin-ui/README.md
@@ -1,6 +1,6 @@
-# dubbo-admin-frontend
+# dubbo-admin-ui
 
-> dubbo ops frontend based on vuetify  
+> dubbo admin ui based on vuetify  
 > standard front end project
 
 ## Build Setup
diff --git a/dubbo-admin-ui/package.json b/dubbo-admin-ui/package.json
index 6a0a9ce..8b09a36 100644
--- a/dubbo-admin-ui/package.json
+++ b/dubbo-admin-ui/package.json
@@ -1,5 +1,5 @@
 {
-  "name": "dubbo-admin-frontend",
+  "name": "dubbo-admin-ui",
   "version": "1.0.0",
   "description": "A Vue.js project",
   "author": "apache incubator dubbo",

Reply via email to