Source code for SVR.JS statistics server
Find a file
2024-10-18 20:11:38 +02:00
backend Add support for SVR.JS running on Deno 2024-10-18 20:11:38 +02:00
frontend Change favicon to a new logo 2024-08-26 12:08:06 +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.