Add the "assets" make target and change directory note in readme (#7908)

* add the "assets" make target and change directory note in readme

Signed-off-by: Luke Chen <showuon@gmail.com>

* address reviewer's comment

Signed-off-by: Luke Chen <showuon@gmail.com>
This commit is contained in:
Luke Chen 2020-09-16 21:01:48 +08:00 committed by GitHub
parent fc416e309b
commit 68d65a8ac5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -93,6 +93,7 @@ The Makefile provides several targets:
* *format*: format the source code
* *vet*: check the source code for common errors
* *docker*: build a docker container for the current `HEAD`
* *assets*: build the new experimental React UI
## React UI Development

View file

@ -26,6 +26,8 @@ The React UI depends on a large number of [npm](https://www.npmjs.com/) packages
Yarn consults the `package.json` and `yarn.lock` files for dependencies to install. It creates a `node_modules` directory with all installed dependencies.
**NOTE**: Remember to change directory to `web/ui/react-app` before running this command and the following commands.
## Running a local development server
You can start a development server for the React UI outside of a running Prometheus server by running: