-
to run the lighting server, you will first need to install Node.js
-
to develop with the app:
$ npm installto install all dependencies$ npm run backendto test/develop for the Node.js backend$ npm run frontendto test/develop for the React frontend
-
for serving in production:
$ npm run buildto build the frontend into a static site- use a process manager such as pm2 to serve the app
- with pm2:
$ npm install pm2 -g$ pm2 start app.js
Version 2.0 (Fall 2018):
- live status of the lights
- dark mode
- a refreshed UI
- under-the-hood updates to React and ES6
Version 1.0 (Spring 2016):
- Written for Node.js
- Uses socket.io for real-time updates
- Responsive frontend interface
- Integrated with the CLIPSAL lighting controllers in the Duke Smart Home
- Uses the CLISPAL C-Bus Serial Interface

