Skip to content

Latest commit

 

History

History
36 lines (36 loc) · 1.06 KB

README.md

File metadata and controls

36 lines (36 loc) · 1.06 KB

webDashboard

This script reads data from a csv file and presents them on a web dashboard. preview

Usage

with existing web-server

  1. Clone repository into web directory
  2. check if dashboard is displayed correctly
  3. update file-paths in updateJSON.py
dataFilePath = "./latest_values.dat"
jsonFilePath = "./data.json"
  1. run updatate-routine
python updateJSON.py
  1. make sure that the following files exist in the web-directory:
  • index.html
  • script.js
  • data.js
  1. check that values on dashboard are updating

without existing web-server

  1. Change Parameters in runServer.py
hostName = "localhost"
serverPort = 80
dataFilePath = "./latest_values.dat"
  1. start server
python runServer.py

Licenses

This Dashboard uses several external ressources. Please check the license before using the dashboard: