# TiDB Enterprise Edition Dashboard UI

This is a Dashboard UI for TiDB Enterprise Edition.

## Build and Setting Up

In `dashboard-ui` directory run:

```
make setup
```

and

```
make
```

to installing front-end dependencies and make compiling to generate a setup binary in `/bin` directory which is named `dashboard-ui`.

Then run

```
bin/dashboard-ui
```

to set up.

> **PS:** To set up the binary, you can specify the port of the API endpoints such as pd-server, tidb-server, etc.
> Just like this: `bin/dashboard-ui -pd-endpoints="http://localhost:32379"` to specify the pd-server api endpoint.

You can access [http://localhost:8080](http://localhost:8080) (default port 8080) to see the dashboard UI entry page in your browser.
