Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.29 KB

README.md

File metadata and controls

43 lines (28 loc) · 1.29 KB

CircleCI

Coverage Status

Maintainability

LightModules-Monitor

Install

Run this commands:

  • git clone https://github.com/Snapstromegon/LightModules-Monitor.git
  • cd LightModules-Monitor
  • npm i

Configurate

Open config.json and set

  • express.port for the frontend and websocket port
  • udp.port for the port the server listens for Modules

Run

  • npm start or
  • node .

Automatic launch at system start (Raspberry Pi based on Stretch)

Copy script once:

  • sudo cp system/nodeserver.service /etc/systemd/system Register service once:
  • sudo systemctl enable nodeserver.service

Stop service manually :

  • sudo systemctl stop nodeserver.service Start service manually :
  • sudo systemctl start nodeserver.service Show status of service:
  • sudo systemctl status nodeserver.service