Floodlight GUI using electron framework!
From the project directory, install all dependencies before building:
npm install
For starting the app from the source code:
npm start
For building the source, depending on your platform:
npm run build
This will create a new directory called builds, containing the application built.
Currently, this instruction only supports linux and macosx.
Anyways, Windows build is possible using the electron-packager utility, more info here: electron-packager
For testing the code:
- Run unit test using karma:
npm run karma
A new directory called coverage will be created containing the current code coverage of the unit tests.
- Run functional test using spectron (needs json-server running):
npm run json-server
npm test