commit | 5a482d352d1ea9111671c778baea6c1c676154e4 | [log] [tgz] |
---|---|---|
author | juzhiyuan <juzhiyuan@apache.org> | Sun Aug 09 17:17:01 2020 +0800 |
committer | juzhiyuan <juzhiyuan@apache.org> | Sun Aug 09 17:17:01 2020 +0800 |
tree | 995ac18983217ec1d4a13087f994b76ba06adc05 | |
parent | c2ce4c9d663c2d6782e4e8b61b316b7f7602da3f [diff] |
feat: added line
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
.