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:56] admingitlab-dashboard [2018/10/03 20:48] (current) admin
Line 2: Line 2:
  
 ===== Install ''chilipie-kiosk'' ===== ===== Install ''chilipie-kiosk'' =====
- 
  
   * Download the [[https://github.com/futurice/chilipie-kiosk#getting-started|chilipie-kiosk]] image    * Download the [[https://github.com/futurice/chilipie-kiosk#getting-started|chilipie-kiosk]] image 
Line 55: Line 54:
 </code> </code>
  
-===== Simple Script to automate all this^ =====+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> <code bash>
-!#/bin/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> 
 +#!/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 77: Line 86:
 cd ./node-build-monitor cd ./node-build-monitor
 npm install npm install
 +
 +echo "Done ..."
 </code> </code>
gitlab-dashboard.1538589386.txt.gz · Last modified: 2018/10/03 19:56 by admin