Commit d25905b5 by Lambok Sinaga

add install.sh

parent b56a35ca
#!/bin/sh
cd /home/pi
git clone -c http.sslverify=false https://gitlab.del.ac.id/lamboksinaga/node-red-custom.git
cd /home/pi/node-red-custom
sudo echo "@reboot sh /home/pi/node-red-custom/launcher.sh > /home/pi/node-red-custom/logs/cronlog 2>&1" | sudo tee -a /var/spool/cron/crontabs/pi
sudo echo "*/10 * * * * sh /home/pi/node-red-custom/update.sh > /home/pi/node-red-custom/logs/update.log 2>&1" | sudo tee -a /var/spool/cron/crontabs/pi
sudo python /home/pi/node-red-custom/run_api.py
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment