update readme.md to add yarn in build instruction

This commit is contained in:
Tieu-Philippe KHIM 2018-02-19 11:35:27 +01:00
parent d7f45bfaff
commit b08caf552d

View File

@ -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
```