User Tools

Site Tools


gitlab-dashboard

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gitlab-dashboard [2018/10/03 19:57] admingitlab-dashboard [2018/10/03 20:48] (current) admin
Line 54: Line 54:
 </code> </code>
  
-===== Simple Script to automate node-build-monitor install =====+Start node-build-monitor using ''npm run start'' and open http://localhost:3000 in your Pis browser 
 + 
 +To run it on boot insert this in ''/etc/rc.local'' before ''exit 0'': 
 + 
 +<code bash> 
 +/home/pi/.nvm/versions/node/v10.11.0/bin/node /home/pi/node-build-monitor/app/app.js & 
 +</code> 
 + 
 +The ''&'' will make this process run in background. The node version in your path depends on the version you installed. 
 + 
 +====== Simple Script to automate node-build-monitor install ======
  
 <code bash> <code bash>
-!#/bin/bash+#!/bin/bash
  
-echo "Install nvm"+echo "Install nvm ..."
 wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
  
Line 76: Line 86:
 cd ./node-build-monitor cd ./node-build-monitor
 npm install npm install
 +
 +echo "Done ..."
 </code> </code>
gitlab-dashboard.1538589455.txt.gz · Last modified: 2018/10/03 19:57 by admin