Make a state folder before install

This commit is contained in:
mmcwilliams 2020-08-16 11:38:50 -04:00
parent 1d2cc757ec
commit 77d1aceb99
2 changed files with 4 additions and 0 deletions

View File

@ -14,4 +14,6 @@ sudo npm install -g pm2 node-gyp node-pre-gyp
echo "Installing bluetooth dependencies..." echo "Installing bluetooth dependencies..."
sudo apt install bluetooth bluez libbluetooth-dev libudev-dev -y sudo apt install bluetooth bluez libbluetooth-dev libudev-dev -y
sudo mkdir -p /root/state
echo "Finished installing intval3 dependencies" echo "Finished installing intval3 dependencies"

View File

@ -39,6 +39,8 @@ sudo rm /etc/nginx/sites-enabled/default
sudo nginx -t sudo nginx -t
sudo service nginx restart sudo service nginx restart
sudo mkdir -p /root/state
echo "Install node" echo "Install node"
npm install npm install