The Dashboard contains both manager-api
and web
parts, so you need to start the development environment separately.
Before development, refer to this guide to install dependencies.
$ git clone -b release/2.13 https://github.com/apache/apisix-dashboard.git
$ cd apisix-dashboard
Please change the configuration in api/conf/conf.yaml
.
In the root directory, launch development mode.
$ make api-run
$ make api-stop
Please refer to the FAQ about the problem of displaying exception in the dashboard after adding custom plugins or modifying plugin's schema.
If writing an back end E2E test, please refer to the Back End E2E Writing Guide
web
directory.$ cd ./web
manager-api
address in the config/defaultSettings.ts
file. If you follow this guidelines, the address may need to be set as below.serveUrlMap:{ dev: 'http://localhost:9000' }
$ yarn install
$ yarn start
If there is an error about gyp during yarn install, please ignore it and go ahead!