From a29810eff5f799c7d93c28eeffc2039c37fac2d9 Mon Sep 17 00:00:00 2001 From: Alexander Bentkamp Date: Thu, 27 Oct 2022 17:34:25 +0200 Subject: [PATCH] update notes --- NOTES.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/NOTES.md b/NOTES.md index 22fbdfb..065c32e 100644 --- a/NOTES.md +++ b/NOTES.md @@ -2,7 +2,7 @@ # Install docker ``` sudo apt-get update -sudo apt-get install ca-certificates curl gnupg lsb-release -y +sudo apt-get install ca-certificates curl gnupg lsb-release -y sudo mkdir -p /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg echo \ @@ -34,13 +34,16 @@ sudo systemctl reload docker # Install NPM ``` -sudo apt-get install npm +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash +source ~/.bashrc +nvm install node npm + sudo npm install -g http-server ``` # Clone NNG interface ``` -( +( git clone https://github.com/hhu-adam/nng4-interface.git cd nng4-interface rm package-lock.json @@ -82,4 +85,4 @@ export PORT=80 ``` sudo apt-get install libcap2-bin sudo setcap cap_net_bind_service=+ep `readlink -f \`which node\`` -``` \ No newline at end of file +```