update to nodejs 18, add nodejs install back into jambonz-mini

This commit is contained in:
Dave Horton
2022-11-17 07:11:42 -05:00
parent dcfee98a1d
commit c0ea373dd4
6 changed files with 9 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/bash
curl -sL https://deb.nodesource.com/setup_16.x | sudo bash - && sudo apt-get install -y nodejs
curl -sL https://deb.nodesource.com/setup_18.x | sudo bash - && sudo apt-get install -y nodejs
sudo npm install -g npm@latest
node -v
npm -v

View File

@@ -1,5 +1,5 @@
#!/bin/bash
curl -sL https://deb.nodesource.com/setup_16.x | sudo bash - && sudo apt-get install -y nodejs
curl -sL https://deb.nodesource.com/setup_18.x | sudo bash - && sudo apt-get install -y nodejs
sudo npm install -g npm@latest
node -v
npm -v

View File

@@ -106,6 +106,10 @@
"execute_command": "chmod +x {{ .Path }}; sudo '{{ .Path }}' {{user `drachtio_version`}}",
"script": "scripts/install_drachtio.sh"
},
{
"type": "shell",
"script": "scripts/install_nodejs.sh"
},
{
"type": "shell",
"execute_command": "chmod +x {{ .Path }}; sudo '{{ .Path }}' {{user `install_influxdb`}}",
@@ -158,11 +162,6 @@
"execute_command": "chmod +x {{ .Path }}; sudo '{{ .Path }}' {{user `jambonz_user`}} {{user `jambonz_password`}}",
"script": "scripts/install_mysql.sh"
},
{
"type": "shell",
"execute_command": "chmod +x {{ .Path }}; sudo '{{ .Path }}' {{user `install_nodered`}}",
"script": "scripts/install_node_red.sh"
},
{
"type": "shell",
"execute_command": "chmod +x {{ .Path }}; sudo '{{ .Path }}' {{user `jambonz_version`}} {{user `jambonz_user`}} {{user `jambonz_password`}}",

View File

@@ -1,5 +1,5 @@
#!/bin/bash
curl -sL https://deb.nodesource.com/setup_16.x | sudo bash - && sudo apt-get install -y nodejs
curl -sL https://deb.nodesource.com/setup_18.x | sudo bash - && sudo apt-get install -y nodejs
sudo npm install -g npm@latest
node -v
npm -v

View File

@@ -1,5 +1,5 @@
#!/bin/bash
curl -sL https://deb.nodesource.com/setup_16.x | sudo bash - && sudo apt-get install -y nodejs
curl -sL https://deb.nodesource.com/setup_18.x | sudo bash - && sudo apt-get install -y nodejs
sudo npm install -g npm@latest
node -v
npm -v

View File

@@ -1,5 +1,5 @@
#!/bin/bash
curl -sL https://deb.nodesource.com/setup_16.x | sudo bash - && sudo apt-get install -y nodejs
curl -sL https://deb.nodesource.com/setup_18.x | sudo bash - && sudo apt-get install -y nodejs
sudo npm install -g npm@latest
node -v
npm -v