Running jsreport with Node.js
Prerequisites
To run jsreport with a local Node.js installation you will need:
-
Node.js version 16.11 or later installed on your system.
-
A working internet connection.
Preparation
-
Run the following command to install the jsreport command line utility in your Node.js installation:
npm install @jsreport/jsreport-cli -g
-
Create a directory to host the jsreport instance.
-
Go to the jsreport instance directory and execute the following command:
jsreport init
-
Copy your
jsreport.config.json
file to the instance directory, overwriting the default one. -
Execute the following command to start jsreport:
jsreport start
You should now be able to access jsreport directly by visiting http://localhost:5488/reporting.
Next steps
To enable the jsreport integration in Siren Investigate see Enabling jsreport integration.