From 68d65a8ac54ce11c627027c9c1946678500dd313 Mon Sep 17 00:00:00 2001 From: Luke Chen <43372967+showuon@users.noreply.github.com> Date: Wed, 16 Sep 2020 21:01:48 +0800 Subject: [PATCH] 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 * address reviewer's comment Signed-off-by: Luke Chen --- README.md | 1 + web/ui/react-app/README.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 1fd7e4ab0..f52986410 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/web/ui/react-app/README.md b/web/ui/react-app/README.md index 370d635fa..6d5b6140d 100755 --- a/web/ui/react-app/README.md +++ b/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. +**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: