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

  1. Run the following command to install the jsreport command line utility in your Node.js installation:

    npm install @jsreport/jsreport-cli -g
  2. Create a directory to host the jsreport instance.

  3. Go to the jsreport instance directory and execute the following command:

    jsreport init
  4. Copy your jsreport.config.json file to the instance directory, overwriting the default one.

  5. 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.