Source code for SVR.JS statistics server
Find a file
2024-08-06 14:49:57 +02:00
backend Initial commit 2024-08-06 14:49:57 +02:00
frontend Initial commit 2024-08-06 14:49:57 +02:00
sql Initial commit 2024-08-06 14:49:57 +02:00
README.txt Initial commit 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.