English | 简体中文
Dashboard for Apache APISIX
Please refer to User Guide
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:
- We need
MySQL/Golang
to be preinstalled.
# e.g Initialization for MySQL, please use a more secure Password instead of 123456.
$ mysql –uroot –p123456
> source ./api/script/db/schema.sql
- Start the Apache APISIX.
- Check environment variables
According to your local deployment environment, check the environment variables in ./api/run/run.sh
, modify the environment variables if needed.
For most users in China, we could use Goproxy to speed up downloading modules.
- Build
$ cd api && go build -o ../manager-api . && cd ..
- Run
$ sh ./api/run/run.sh &
This project is initialized with Ant Design Pro. The following are some quick guides for how to use.
- Make sure you have
Node.js(version 8.10.0+)/Nginx
installed on your machine. - Install yarn.
- Install dependencies:
$ yarn install
- Build
$ yarn build
- The bundled files are under
/dist
folder if the step 4 is successful, then we recommend usingnginx
to handle those files, please installnginx
manually, then refer to the nginx confcompose/dashboard_conf/nginx.conf
. - Move files under
dist
folder to nginx's default html folder, then visithttps://127.0.0.1
in your browser.
- Make sure you have
Node.js(version 8.10.0+)/Nginx
installed on your machine. - Install yarn.
- Install dependencies:
- If we want to modify the API, please refer to the
config/proxy.ts
file.
$ yarn install
$ yarn start
-
If you need the dashboard-1.0 which is built with Vue.js, please refer to master-vue.
-
More information about the new dashboard and manager-api please refer to here