From: Larsan Date: Tue, 6 Jun 2017 14:29:01 +0000 (+0000) Subject: /* Setup */ damit läuft es zumindest schon ein bisschen mehr als vorher X-Git-Url: https://git.rohieb.name/stratum0-wiki.git/commitdiff_plain/0f4a26439f14920fdf5e6e30fc846d82d1f757f9 /* Setup */ damit läuft es zumindest schon ein bisschen mehr als vorher --- diff --git a/Infodisplay.mw b/Infodisplay.mw index 94b2c9e29..535807d25 100644 --- a/Infodisplay.mw +++ b/Infodisplay.mw @@ -29,13 +29,17 @@ Das ganze ist derzeit auf Full-HD optimiert. Da die Software auf einer [http://i Raspbian auf Raspberry Pi installieren. Dann: Pakete installieren: - sudo apt install git firefox-esr xserver-xorg-legacy xserver-xorg x11-xserver-utils cec-utils python3-rpi.gpio nodejs-legacy npm xinit + sudo apt install git firefox-esr xserver-xorg-legacy xserver-xorg x11-xserver-utils cec-utils python3-rpi.gpio npm xinit # oder auch 'firefox', je nach Verfügbarkeit + curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - + # oder was mittlerweile nach https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions aktuell ist + sudo apt-get install -y nodejs s0infodisplay macht lokal einen HTTP-Server und baut die HTML-Seite: git clone https://gitli.stratum0.org/kasalehlia/s0infodisplay/ cd s0infodisplay/ npm install + NODE_ENV=production npm run build infopoint-html startet einen Firefox im Vollbild: cd