Push dev work to master #2
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "Running blootstrap install script"
|
||||
echo "Running intval3 install script"
|
||||
apt-get update
|
||||
apt-get install git ufw nginx -y
|
||||
|
||||
|
@ -14,4 +14,4 @@ npm install -g pm2
|
|||
echo "Installing bluetooth dependencies..."
|
||||
apt-get install bluetooth bluez libbluetooth-dev libudev-dev -y
|
||||
|
||||
echo "Finished installing blootstrap dependencies"
|
||||
echo "Finished installing intval3 dependencies"
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "Running blootstrap install script"
|
||||
echo "Running intval3 install script"
|
||||
apt-get update
|
||||
apt-get install git ufw nginx -y
|
||||
|
||||
|
@ -13,6 +13,8 @@ npm install -g pm2
|
|||
|
||||
echo "Installing bluetooth dependencies..."
|
||||
apt-get install bluetooth bluez libbluetooth-dev libudev-dev -y
|
||||
systemctl disable bluetooth
|
||||
hciconfig hci0 up
|
||||
|
||||
echo "Configuring ufw (firewall)..."
|
||||
ufw default deny incoming
|
||||
|
@ -22,13 +24,13 @@ ufw allow http
|
|||
ufw allow https
|
||||
ufw enable
|
||||
|
||||
echo "Installing blootstrap project..."
|
||||
wget https://github.com/mattmcw/blootstrap/archive/master.zip
|
||||
unzip master.zip -d blootstrap/
|
||||
echo "Installing intval3 project..."
|
||||
wget https://github.com/sixteenmillimeter/intval3/archive/master.zip
|
||||
unzip master.zip -d intval3/
|
||||
rm master.zip
|
||||
|
||||
cd blootstrap
|
||||
cd intval3
|
||||
npm install
|
||||
pm2 start process.json
|
||||
|
||||
echo "Finished installing blootstrap"
|
||||
echo "Finished installing intval3"
|
Loading…
Reference in New Issue