From 9902702f84088f0d9e919b8a07ecaf4d29169be4 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Tue, 22 Aug 2017 00:38:53 -0400 Subject: [PATCH] Caught misnamed files from original project --- scripts/{blootstrap-deps.sh => intval3-deps.sh} | 4 ++-- .../{blootstrap-install.sh => intval3-install.sh} | 14 ++++++++------ 2 files changed, 10 insertions(+), 8 deletions(-) rename scripts/{blootstrap-deps.sh => intval3-deps.sh} (77%) rename scripts/{blootstrap-install.sh => intval3-install.sh} (65%) diff --git a/scripts/blootstrap-deps.sh b/scripts/intval3-deps.sh similarity index 77% rename from scripts/blootstrap-deps.sh rename to scripts/intval3-deps.sh index 90a92f3..3b1c923 100644 --- a/scripts/blootstrap-deps.sh +++ b/scripts/intval3-deps.sh @@ -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" \ No newline at end of file +echo "Finished installing intval3 dependencies" \ No newline at end of file diff --git a/scripts/blootstrap-install.sh b/scripts/intval3-install.sh similarity index 65% rename from scripts/blootstrap-install.sh rename to scripts/intval3-install.sh index 8e3258b..ae311a6 100644 --- a/scripts/blootstrap-install.sh +++ b/scripts/intval3-install.sh @@ -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" \ No newline at end of file +echo "Finished installing intval3" \ No newline at end of file