docs: updated README.md for npm RAM caution (#272)

Signed-off-by: ffyuanda <46557895+ffyuanda@users.noreply.github.com>
This commit is contained in:
ffyuanda 2021-08-18 20:07:39 +08:00 committed by GitHub
parent 2def51ad99
commit 2b70698c2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,6 +87,7 @@ Edit `conf/app.conf`, set `runmode=dev`. Firstly build front-end files:
```bash
cd web/ && npm install && npm run start
```
*❗ A word of caution ❗: the `npm` commands above need a recommended system RAM of at least 4GB. It has a potential failure during building the files if your RAM is not sufficient.*
Then build back-end binary file, change directory to root(Relative to casdoor):