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:54] – [Install NVM (Node Version Manager)] 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> 
 +/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
  
-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 69: Line 79:
 nvm install v10.11.0 nvm install v10.11.0
  
 +echo "Install node-build-monitor"
 +
 +sudo apt install git
 +cd ~/
 +git clone https://github.com/marcells/node-build-monitor.git
 +cd ./node-build-monitor
 +npm install
 +
 +echo "Done ..."
 </code> </code>
gitlab-dashboard.1538589262.txt.gz · Last modified: 2018/10/03 19:54 by admin