Node.js
  • 11 Sep 2023
  • 1 Minute to read
  • Dark
    Light
  • PDF

Node.js

  • Dark
    Light
  • PDF

Article summary

About this Article
This article provides VSP application instrumentation steps for Node.js and provides steps to determine the values of start-up script, deployment folder and Node.js version required during application configuration on CMS.


Reference Application: WIKI Application


Startup-up Script

  1. Log in to the server
  2. Navigate to the application installation directory and open the file package.json. 
    1. Example:/opt/wiki/package.json
  3. Check for the start-up script file information in the file package.json. Provide the full path of the start-up script file in CMS
    1. Inside the file package.json, search for the files starting with “start” and some file names might exist like server.js or app.js.
    2. Example: /opt/wiki/server.js; /opt/wiki/app.js


Deployment Folder

  1. Log in to the server
  2. The deployment folder for Node.js applications, is the one where the application files/binaries are extracted. Referred WIKI application for Demo
    1. Example: /opt/wiki


Node.js Version

Execute the below command to find Node.js version

node -v

Example Node.js Version: v12


Was this article helpful?

What's Next