miloshdrown / rspi-kiosk

An exemple project to launch chrome on kiosk mode on a raspberry pi from scratch using Docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

raspi-kiosk

This project is an attempt to provide a node js kiosk boilerplate. The Idea is to build a kiosk display by using a raspberry pi and node JS. It takes leverage of the process called Infrastructure as Code (IaC) to provide an infrastructure and the configuration needed for this display. This will help us reduce manual processes for configuration and installation of different dependencies.

##Install 1- Flash the sd card

flash -s [wifi ssid] -p [wifi pass] http://downloads.hypriot.com/hypriot-rpi-20151115-132854.img.zip

2- ssh to raspberry pi

ssh pirate@black-pearl.local
password: hypriot

3- clone current project

git clone https://github.com/logu/rspi-kiosk.git

4- launch docker-compose

cd rspi-kiosk
docker-compose up -d

##Project structure

###Display Node js project this is what is displayed on the screen .

Used technologies

JavaScript

Templating

Styles

Automation

Code Management

Build & Deployment Process

This starter kit includes a build system by which source can be transpiled, converted and compressed in preparation for production use. For this task, Webpack is used.

Use Webpack

webpack : Buils css and transpile JS

Directory structure

The root directory generated for the app :

├──  display
├──  tools
├──  wifi-ap
├──  docker-compose.yml
├──  README.md

About

An exemple project to launch chrome on kiosk mode on a raspberry pi from scratch using Docker


Languages

Language:JavaScript 86.0%Language:CSS 7.5%Language:HTML 6.5%