mirror of
https://github.com/apache/apisix-dashboard.git
synced 2025-12-08 20:12:51 +00:00
* docs: update CHANGELOG for v2.2 Co-authored-by: nic-chen <johz@163.com> Co-authored-by: 琚致远 <juzhiyuan@apache.org>
1.8 KiB
1.8 KiB
Development Guide
The Dashboard contains both manager-api and web parts, so you need to start the development environment separately.
Prerequisites
Before development, refer to this guide to install dependencies.
Clone the project
$ git clone -b v2.2 https://github.com/apache/apisix-dashboard.git
Start developing
$ cd apisix-dashboard
manager-api
-
Please change the configuration in
api/conf/conf.yaml. -
In the root directory, launch development mode.
$ make api-run
- In the root directory, stop development mode.
$ 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.
web
- Go to the
webdirectory.
$ cd ./web
-
Please change the
manager-apiaddress in theconfig/proxy.tsfile if needed. -
Launch development mode
$ yarn install
$ yarn start
- If writing an E2E test, refer to the E2E Writing Guide