X-Git-Url: http://git.rohieb.name/stratum0-wiki.git/blobdiff_plain/aa52d6247b3d15fc5eed38dd70306bbc97f019b4..6f31bde697c7b07adb8c205f3c01b6c7381d8d4c:/Infodisplay.mw diff --git a/Infodisplay.mw b/Infodisplay.mw index f2b87afc8..3e2310773 100644 --- a/Infodisplay.mw +++ b/Infodisplay.mw @@ -29,17 +29,28 @@ Das ganze ist derzeit auf Full-HD optimiert. Da die Software auf einer [http://i Raspbian auf Raspberry Pi installieren. Dann: Pakete installieren: - 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 -y install git firefox-esr xserver-xorg-legacy xserver-xorg x11-xserver-utils cec-utils python3-rpi.gpio npm xinit libicu-dev nodejs + sudo apt -y install git firefox-esr xserver-xorg-legacy xserver-xorg x11-xserver-utils python3-rpi.gpio xinit libicu-dev unattended-upgrades cmake libp8-platform-dev libudev-dev # oder auch 'firefox', je nach Verfügbarkeit +Libcec mit RPI build system fix bauen: + git clone https://github.com/Emantor/libcec + cd libcec && mkdir build && cd build + cmake -DRPI_INCLUDE_DIR=/opt/vc/include -DRPI_LIB_DIR=/opt/vc/lib .. + +Darauf achten das nach dem cmake die Zeile + -- Raspberry Pi support: yes +auf yes steht. Dann: + make + sudo make install + sudo ldconfig + 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 + virtualenv env + source env/bin/activate + pip install -r requirements.txt + python3 main.py infopoint-html startet einen Firefox im Vollbild: cd