The wallboard front-end :
-
Widgets
-
Conductor/Orchestration scripts
-
and a future admin app
-
Widgets are stored in
widgetsdirectory -
The
conductorscript allows to cycle between the widgets-
The widgets have to be registered via the API
-
The widgets must manually import the
conductorscript
-
-
Docker or NodeJS
-
Wallboard API running at http://localhost:5000
npm run devThis will serve the front-end at http://localhost:8080/index.html
docker run --name wallboard-front -p 8080:8080 -v ${PWD}:/app -w /app -it node bash
npm run devThis will serve the front-end at http://localhost:8080/index.html
To stop:
docker stop wallboard-frontTo restart:
docker start wallboard-front
docker attach wallboard-front
npm run devUses a Nginx server to serve the front-end.
Example of build with NodeJS and Docker.
npm run build
docker build -t wallboard-front .
# and then run image :
docker run -d -p 8080:80 wallboard-frontThis will serve the front-end at http://localhost:8080/index.html