You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by hy...@apache.org on 2020/07/05 13:34:03 UTC
[dubbo-admin] branch develop updated: update readme (#631)
This is an automated email from the ASF dual-hosted git repository.
hyunkun pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-admin.git
The following commit(s) were added to refs/heads/develop by this push:
new bfae584 update readme (#631)
bfae584 is described below
commit bfae5848c2a91aa0c10ff62ba3b8c21ab3ad6fe2
Author: Huang YunKun <ht...@gmail.com>
AuthorDate: Sun Jul 5 21:33:55 2020 +0800
update readme (#631)
---
README.md | 16 ++++++++--------
README_ZH.md | 14 +++++++-------
2 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/README.md b/README.md
index b6dfa00..61318bc 100644
--- a/README.md
+++ b/README.md
@@ -7,9 +7,11 @@
[![Percentage of issues still open](http://isitmaintained.com/badge/open/apache/dubbo-admin.svg)](http://isitmaintained.com/project/apache/dubbo-admin "Percentage of issues still open")
[中文说明](README_ZH.md)
-### Demo Address
-* http://47.91.207.147/#/service
-* this demo is the latest version of `develop` branch, you can try it before building from source code
+### Quick start
+
+* prebuilt docker image https://hub.docker.com/r/apache/dubbo-admin
+* quick start a live demo with [play-with-docker](https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/apache/dubbo-admin/develop/docker/stack.yml#) (version:0.1.0)
+
### Screenshot
![index](https://raw.githubusercontent.com/apache/dubbo-admin/develop/doc/images/index.png)
@@ -18,9 +20,9 @@
service governance follows the version of Dubbo 2.7, and compatible for Dubbo 2.6, please refer to [here](https://github.com/apache/dubbo-admin/wiki/The-compatibility-of-service-governance)
### admin UI
-- [Vue.js](https://vuejs.org) and [Vuetify](https://vuetifyjs.com)
+- [Vue.js](https://vuejs.org) and [Vue Cli](https://cli.vuejs.org/)
- [dubbo-admin-ui/README.md](dubbo-admin-ui/README.md) for more detail
-- Set npm **proxy mirror**: you can set npm proxy mirror to speedup npm install: add `registry =https://registry.npm.taobao.org` to ~/.npmrc
+- Set npm **proxy mirror**: if you have network issue, you can set npm proxy mirror to speedup npm install: add `registry =https://registry.npm.taobao.org` to ~/.npmrc
### admin Server
@@ -50,9 +52,7 @@ service governance follows the version of Dubbo 2.7, and compatible for Dubbo 2.
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 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
Once deployed, you can check http://localhost:8080/swagger-ui.html to check all restful api and models
diff --git a/README_ZH.md b/README_ZH.md
index 9e0b324..025f0c3 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -5,9 +5,11 @@
![license](https://img.shields.io/github/license/apache/dubbo-admin.svg)
[English version](README.md).
-### Demo地址
-* http://47.91.207.147/#/service
-* 该地址是`develop`分支的最新版本,在从源码构建之前,可以先尝试demo
+### 快速开始
+
+* 预构建的Docker镜像 https://hub.docker.com/r/apache/dubbo-admin
+* 快速启动一个演示环境 [play-with-docker](https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/apache/dubbo-admin/develop/docker/stack.yml#) (版本:0.1.0)
+
### 页面截图
![index](https://raw.githubusercontent.com/apache/dubbo-admin/develop/doc/images/index.png)
@@ -16,9 +18,9 @@
服务治理的部分,按照Dubbo 2.7的格式进行配置,同时兼容Dubbo 2.6,详见[这里](https://github.com/apache/dubbo-admin/wiki/%E6%9C%8D%E5%8A%A1%E6%B2%BB%E7%90%86%E5%85%BC%E5%AE%B9%E6%80%A7%E8%AF%B4%E6%98%8E)
### 前端部分
-- 使用[Vue.js](https://vuejs.org)作为javascript框架,[Vuetify](https://vuetifyjs.com)作为UI框架
+- 使用[Vue.js](https://vuejs.org)作为javascript框架
- [dubbo-admin-ui/README.md](dubbo-admin-ui/README.md)中有更详细的介绍
-- 设置 npm **代理镜像** : 可以设置npm代理镜像来加速npm install的过程:在~/.npmrc中增加 `registry =https://registry.npm.taobao.org`
+- 设置 npm **代理镜像** : 如果遇到了网络问题,可以设置npm代理镜像来加速npm install的过程:在~/.npmrc中增加 `registry =https://registry.npm.taobao.org`
### 后端部分
@@ -47,8 +49,6 @@
`dubbo admin ui`由npm管理和构建,在开发环境中,可以单独运行: `npm run dev`
* 页面访问
访问 `http://localhost:8081`, 由于前后端分开部署,前端支持热加载,任何页面的修改都可以实时反馈,不需要重启应用。
- * 跨域问题
- 为了方便开发,我们提供了这种前后端分离的部署模式,主要的好处是支持前端热部署,在这种模式下,前端会通过8080端口访问后端的restful api接口,获取数据, 这将导致跨域访问的问题。因此我们在`dubbo-admin-ui/config/index.js`添加了支持跨域访问的配置,当前端通过`npm run dev`单独启动时,这些配置将被激活,允许跨域访问
### Swagger 支持