You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2020/08/02 07:37:42 UTC
[apisix-dashboard] 01/01: feat(doc): update README
This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch feat-release-1.5
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git
commit 8bf7d1068ffd33792d6fc8ad6dea394c788d8c46
Author: juzhiyuan <ju...@apache.org>
AuthorDate: Sun Aug 2 15:37:18 2020 +0800
feat(doc): update README
---
README.md | 12 ++++++++++--
api/README.md | 4 ++--
api/run/build.md | 24 +++++++++++-------------
3 files changed, 23 insertions(+), 17 deletions(-)
diff --git a/README.md b/README.md
index 3a80fae..cb96e59 100644
--- a/README.md
+++ b/README.md
@@ -16,15 +16,23 @@
# limitations under the License.
#
-->
+
# Apache APISIX Dashboard
Dashboard for [Apache APISIX](https://github.com/apache/incubator-apisix-dashboard)
-## Deploy with Docker (currently)
+## Deployment
+
+### Docker (Recommended)
Please refer to [Deploy with Docker README](./compose/README.md)
-## More
+### Manually
+
+1. Building the [manager-api](./api/README.md)
+2. Building the [dashboard](./README-dashboard.md)
+
+## Other
1. More infomation about the frontend Dashboard, please refer to [README for Dashboard](./README-dashboard.md)
2. If you need the dashboard built with Vue.js, please refer to [master-vue](https://github.com/apache/incubator-apisix-dashboard/tree/master-vue).
diff --git a/api/README.md b/api/README.md
index 1239ce4..eef4198 100644
--- a/api/README.md
+++ b/api/README.md
@@ -19,8 +19,8 @@
# manager-api
-This is a back-end project that the dashboard depends on, implemented through golang.
+This is a backend project which the dashboard depends on, implemented by Golang.
-## configuration and install
+## Installation
[Install Doc](run/build.md)
diff --git a/api/run/build.md b/api/run/build.md
index dafea17..55412fc 100644
--- a/api/run/build.md
+++ b/api/run/build.md
@@ -17,21 +17,15 @@
#
-->
-# manager-api
+# manager-api
-## build
+## Requirements
-```shell
-$ go build -o manager-api ../.
-```
-
-## Pre-dependence
-
-### mysql
+### MySQL
Install mysql in advance, and then initialize the database. e.g.
-```shell
+```sh
mysql –uroot –p123456 < ../script/db/schema.sql
```
@@ -43,10 +37,14 @@ mysql –uroot –p123456 < ../script/db/schema.sql
According to your local deployment environment, modify the environment variables in `./run.sh`
-## Run
+## Build
-```shell
-$ sh run.sh
+```sh
+$ go build -o manager-api ../.
```
+## Run
+```sh
+$ sh run.sh
+```