Skip to content

Latest commit

 

History

History

web-app

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

TesLight UI

The TesLight UI is a web-based ReactJS frontend. It was designed by BlackBeaver.eu and programmed by me (TheRealKasumi). Since it's a ReactJS based project, there is a required build step before it can be used.

Build the Frontend

To build the frontend, NodeJS and NPM are required. Keep in mind that NPM comes with NodeJS, so you don't need to install it manually. Open a terminal an navigate into the web-app folder.

npm install
npm run build

Afterwards there will be build folder. This contains the ready to use frontend files. These can be copied to the MicroSD card and used with TesLight. For more information, check the build guide.

Mock Server (For Developers)

There is a minimalistic mock server in the mock-server folder. It helps you to work on the frontend without having a connected TesLight controller. Navigate into the folder and run npm run start to start the mock server. When starting the frontend via npm run start, all requests are forwarded to the mock server automatically.