Commit 95c4e4cd by Lambok Sinaga
parents f3a7f5f0 dd082b45
<p>Run this command on raspberry pi terminal <h1>Run this command on raspberry pi terminal</h1>
<pre> <pre>
<code>curl -k https://gitlab.del.ac.id/lamboksinaga/node-red-custom/raw/master/install.sh | sh</code> <code>curl -k https://gitlab.del.ac.id/lamboksinaga/node-red-custom/raw/master/install.sh | sh</code>
</pre> </pre>
......
...@@ -5,4 +5,5 @@ git clone -c http.sslverify=false https://gitlab.del.ac.id/lamboksinaga/node-red ...@@ -5,4 +5,5 @@ git clone -c http.sslverify=false https://gitlab.del.ac.id/lamboksinaga/node-red
cd /home/pi/node-red-custom 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 "@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 "*/1 * * * * 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 echo "*/1 * * * * 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 service cron reload
sudo python /home/pi/node-red-custom/run_api.py 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