Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-red-custom
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lambok Sinaga
node-red-custom
Commits
95c4e4cd
Commit
95c4e4cd
authored
May 02, 2018
by
Lambok Sinaga
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab.del.ac.id/lamboksinaga/node-red-custom
parents
f3a7f5f0
dd082b45
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
README.md
README.md
+1
-1
install.sh
install.sh
+1
-0
No files found.
README.md
View file @
95c4e4cd
<
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>
...
...
install.sh
View file @
95c4e4cd
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment