The Dashboard contains both manager-api
and web
, but web
is optional.
The manager-api
and web
will be included in this build guide product.
Before using source codes to build, make sure that the following dependencies are installed in your environment.
$ go env -w GOPROXY=https://goproxy.cn,direct
$ git clone -b v2.0 https://github.com/apache/apisix-dashboard.git
$ cd apisix-dashboard $ make build
When the build is complete, the results are stored in the root output
directory.
Note: make build
will build manger-api
and web
, use the make help
command to see more commands.
Check and modify the configuration information in output/conf/conf.yaml
according to your deployment environment.
Launch the Dashboard
$ cd ./output $ ./manager-api # or running in background $ nohup ./manager-api &
Without changing the configuration, visit http://127.0.0.1:9000
to use the dashboard with GUI, where the default username and password are admin
.
Stop the Dashboard
$ kill $(ps aux | grep 'manager-api' | awk '{print $2}')