From 34dc3f7caeec97accac970a444039d8eab5395a5 Mon Sep 17 00:00:00 2001 From: BrianChen <46628572+brianchennn@users.noreply.github.com> Date: Mon, 27 Nov 2023 23:44:03 +0800 Subject: [PATCH] Update readme.md --- readme.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 73566766..b6d236b1 100644 --- a/readme.md +++ b/readme.md @@ -1,15 +1,22 @@ # free5GC Web Console -Prior to building webconsole, install nodejs and yarn package first: +### Install yarn: ```bash -sudo apt remove cmdtest -sudo apt remove yarn +sudo apt remove cmdtest yarn curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update sudo apt-get install -y nodejs yarn ``` +### Install Node.js +```bash +sudo apt remove nodejs -y +curl -s https://deb.nodesource.com/setup_16.x | sudo bash +sudo apt install nodejs -y +node -v # check version is 16.x +``` + To run free5GC webconsole server. The following steps are to be considered. ```bash # (In directory: ~/free5gc/webconsole)