Source code for SVR.JS statistics server
backend | ||
frontend | ||
sql | ||
README.txt |
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.