Browse Source

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>
pull/7949/head
Luke Chen 4 years ago committed by GitHub
parent
commit
68d65a8ac5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      README.md
  2. 2
      web/ui/react-app/README.md

1
README.md

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

2
web/ui/react-app/README.md

@ -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. 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 ## Running a local development server
You can start a development server for the React UI outside of a running Prometheus server by running: You can start a development server for the React UI outside of a running Prometheus server by running:

Loading…
Cancel
Save