📂
apisix-dashboard
  • 概述
  • FAQ
  • 更新日志
  • 部署
    • 源码
    • Docker
      • 手动构建
      • DockerHub
    • RPM
  • 指南
    • Route
      • 概述
      • 路由列表
      • 创建路由
      • 编辑路由
      • 删除路由
    • Upstream
      • 概述
      • 上游列表
      • 创建上游
      • 编辑上游
      • 删除上游
    • Service
      • 概述
      • 服务列表
      • 创建服务
      • 编辑服务
      • 删除服务
    • Consumer
      • 概述
      • 应用列表
      • 创建应用
      • 编辑应用
      • 删除应用
    • SSL
      • SSL 列表
      • 创建 SSL
      • 编辑 SSL
      • 删除 SSL
    • 全局插件
      • 插件列表
      • 配置插件
  • 最佳实践
    • API 全生命周期
      • API 版本管理
      • API 在线调试
      • API 上下线
      • API 分组管理
  • 附录
    • 版本兼容
    • 疑难排查
Powered by GitBook
On this page
  • Prerequisites
  • Clone the project
  • Build
  • Launch

Was this helpful?

  1. 部署

源码

Previous部署NextDocker

Last updated 4 years ago

Was this helpful?

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.

Prerequisites

Before using source codes to build, make sure that the following dependencies are installed in your environment.

manager-api

  1. 1.13+: For users in mainland China, you can use the following command to speed up the module downloads.

$ go env -w GOPROXY=https://goproxy.cn,direct

web

  1. 10.23.0+

Clone the project

$ git clone -b v2.3 https://github.com/apache/apisix-dashboard.git

Build

$ 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.

Launch

  1. After the build is complete and before you start, make sure the following dependencies are installed and running in your environment.

  2. Check and modify the configuration information in output/conf/conf.yaml according to your deployment environment.

  3. Launch the Dashboard

$ cd ./output

$ ./manager-api

# or running in background
$ nohup ./manager-api &
  1. 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.

  2. Stop the Dashboard

$ kill $(ps aux | grep 'manager-api' | awk '{print $2}')

3.4.0+

Golang
Node.js
Yarn
etcd