From b08caf552df4e1432ba4b2f500f028904b4df2ea Mon Sep 17 00:00:00 2001 From: Tieu-Philippe KHIM Date: Mon, 19 Feb 2018 11:35:27 +0100 Subject: [PATCH] update readme.md to add yarn in build instruction --- glances/outputs/static/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/glances/outputs/static/README.md b/glances/outputs/static/README.md index 8bfb845c..63347186 100644 --- a/glances/outputs/static/README.md +++ b/glances/outputs/static/README.md @@ -1,11 +1,19 @@ # How to contribute? -In order to build the assets of the Web UI, you'll need [npm](https://docs.npmjs.com/getting-started/what-is-npm). +In order to build the assets of the Web UI, you'll need [npm](https://docs.npmjs.com/getting-started/what-is-npm) or [yarn](https://yarnpkg.com). You must run the following command from the `glances/outputs/static/` directory. ## Install dependencies +You can use yarn or npm: + +```bash +$ yarn +``` + +or: + ```bash $ npm install ```