diff --git a/scripts/intval3-deps.sh b/scripts/intval3-deps.sh index cc543e2..df9bbb2 100644 --- a/scripts/intval3-deps.sh +++ b/scripts/intval3-deps.sh @@ -14,4 +14,6 @@ sudo npm install -g pm2 node-gyp node-pre-gyp echo "Installing bluetooth dependencies..." sudo apt install bluetooth bluez libbluetooth-dev libudev-dev -y +sudo mkdir -p /root/state + echo "Finished installing intval3 dependencies" diff --git a/scripts/intval3-install.sh b/scripts/intval3-install.sh index 07f66ac..594e539 100644 --- a/scripts/intval3-install.sh +++ b/scripts/intval3-install.sh @@ -39,6 +39,8 @@ sudo rm /etc/nginx/sites-enabled/default sudo nginx -t sudo service nginx restart +sudo mkdir -p /root/state + echo "Install node" npm install