2017-08-22 01:11:07 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2017-11-22 16:57:40 +00:00
|
|
|
echo "Running intval3 dependency install script"
|
2018-10-07 19:10:04 +00:00
|
|
|
sudo apt update
|
|
|
|
sudo apt install git ufw nginx jq -y
|
2017-08-22 01:11:07 +00:00
|
|
|
|
|
|
|
echo "Installing node.js dependencies.."
|
2018-10-07 19:10:04 +00:00
|
|
|
sudo apt install nodejs npm -y
|
|
|
|
sudo npm install -g n
|
2020-07-25 12:26:48 +00:00
|
|
|
sudo n 9.9.0
|
2018-10-07 19:10:04 +00:00
|
|
|
sudo npm install -g npm@latest
|
2019-02-23 22:25:57 +00:00
|
|
|
sudo npm install -g pm2 node-gyp node-pre-gyp
|
2017-08-22 01:11:07 +00:00
|
|
|
|
|
|
|
echo "Installing bluetooth dependencies..."
|
2018-10-07 19:10:04 +00:00
|
|
|
sudo apt install bluetooth bluez libbluetooth-dev libudev-dev -y
|
2017-08-22 01:11:07 +00:00
|
|
|
|
2020-08-16 15:38:50 +00:00
|
|
|
sudo mkdir -p /root/state
|
|
|
|
|
2019-02-23 22:25:57 +00:00
|
|
|
echo "Finished installing intval3 dependencies"
|