commit | c2ce4c9d663c2d6782e4e8b61b316b7f7602da3f | [log] [tgz] |
---|---|---|
author | 琚致远 <juzhiyuan@apache.org> | Sun Aug 09 17:16:22 2020 +0800 |
committer | GitHub <noreply@github.com> | Sun Aug 09 17:16:22 2020 +0800 |
tree | bf6739278137526ccbb5ca4a8036e971d060b51b | |
parent | e07cefa1201da7fbad7b5bc2ae4031cc959482cd [diff] | |
parent | 4fd0ce79bb34dbe8c31b7a27884930e3b0e5437c [diff] |
Merge branch 'master' into v1.5
Dashboard for Apache APISIX
Please refer to Deploy with Docker README
$ git clone https://github.com/apache/apisix-dashboard.git $ cd apisix-dashboard
The manager-api
is used to provide APIs for Dashboard, just like a bridge between the Apache APISIX and the Dashboard. Here are the steps to build it manually:
MySQL/Golang
to be preinstalled.# e.g Initialization for MySQL $ mysql –uroot –p123456 > source ./api/script/db/schema.sql
According to your local deployment environment, check the environment variables in ./api/run/run.sh
, modify the environment variables if needed.
$ cd api && go build -o ../manager-api . && cd ..
$ sh ./api/run/run.sh &
This project is initialized with Ant Design Pro. The following are some quick guides for how to use.
Node.js(version 8.10.0+)/Nginx
installed on your machine.$ yarn install
$ yarn build
/dist
folder if the step 4 is successful, then We recommend using nginx
to handle those files: just move them to nginx‘s default html folder, then visit http://127.0.0.1
in your browser. The default Setting page would be shown, and you should set the API field to the manager api’s address, e.g http://127.0.0.1:8080/apisix/admin
.