This project was a part of our IBM Make-A-Thon competition.
pip install -r RPMS/requirements.txt
python flaskserver.py
Trigger getDevices
emits updateDevices
with device list.
Trigger getLogs
emits updateLogs
with logs list.
Trigger rpmsOutput
emits cmdOutput
with output of executed command.
Trigger rpmsDevices
broadcasts updateDevices
.
Trigger rpmsLogs
broadcasts updateLogs
.
Trigger reading
emits newReading
with new reading data from client.
Trigger execCmd
emits rpmsCmd
which triggers RPMS to execute command on client.
cd PORTAL/
npm install
npm run start
npm test