Node.js
- 11 Sep 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Node.js
- Updated on 11 Sep 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
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
- Log in to the server
- Navigate to the application installation directory and open the file package.json.
- Example:/opt/wiki/package.json
- 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
- Inside the file package.json, search for the files starting with “start” and some file names might exist like server.js or app.js.
- Example: /opt/wiki/server.js; /opt/wiki/app.js
Deployment Folder
- Log in to the server
- The deployment folder for Node.js applications, is the one where the application files/binaries are extracted. Referred WIKI application for Demo
- 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?