$ 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:
We need Go
1.13+ and Lua
5.1+ to be preinstalled.
Check environment variables
$ go env -w GO111MODULE=on
./api/run.sh
, modify the environment variables if needed. For example, change the ETCD endpoints to your ETCD instances work with APISIX:export APIX_ETCD_ENDPOINTS="127.0.0.1:2379"
If you have multiple instances, please use commas to separate:
export APIX_ETCD_ENDPOINTS="127.0.0.1:2379,127.0.0.1:3379"
$ go env -w GOPROXY=https://goproxy.cn,direct
$ ./api/run.sh &
This project is initialized with Ant Design Pro. The following are some quick guides for how to use.
Node.js(version 10.0.0+)/Nginx
installed on your machine.$ yarn install
$ yarn build
/dist
folder if the step 4 is successful.dist
folder to manager-api's dist
folder, then visit http://127.0.0.1:8080
in your browser, 8080
is the default listen port of manager-api.