svrjs-statistics-server/README.txt

7 lines
561 B
Text
Raw Normal View History

2024-08-06 14:49:57 +02:00
The "backend" folder contains files, that would be copied to /usr/lib/svrjs directory.
The "frontend" folder contains files, that would be copied to /var/www/svrjs directory.
The "sql" folder contains a "database.sql" file, that would be loaded into a database.
You may need to set "useWebRootServerSideScript" in SVR.JS config.json to "false" and set up HTTP authentication at every URL, expect "/collect.svr" (that includes query strings)
The server-side script require "mysql" and "gnuplot" npm packages. It also requires "gnuplot" command to be installed.