Skip to content

SofteamOuest/wallboard-front

Repository files navigation

Wallboard Front

The wallboard front-end :

  • Widgets

  • Conductor/Orchestration scripts

  • and a future admin app

Structure

  • Widgets are stored in widgets directory

  • The conductor script allows to cycle between the widgets

    • The widgets have to be registered via the API

    • The widgets must manually import the conductor script

Requirements

Run devServer locally with NodeJS + webpack

npm run dev

This will serve the front-end at http://localhost:8080/index.html

Run devServer locally with Docker + webpack

docker run --name wallboard-front -p 8080:8080 -v ${PWD}:/app -w /app -it node bash
npm run dev

This will serve the front-end at http://localhost:8080/index.html

To stop:

docker stop wallboard-front

To restart:

docker start wallboard-front
docker attach wallboard-front
npm run dev

Build

Uses 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-front

This will serve the front-end at http://localhost:8080/index.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors