Warning |
---|
|
...
The next step is to enter the directory (using the cd command) and run the Node Package Manager (npm) install process for Profound.js using the command npm install profoundjs@nextprofoundjs. This will download all package dependencies and install the product.
...
Code Block | ||
---|---|---|
| ||
cd / mkdir profoundjs cd profoundjs npm install profoundjs@nextnpm install profoundjs |
Warning Messages
...
Profound.js is provided as an npm package hosted on npmjs.com. When installing npm packages into a directory that does not have a package.json file to describe your project, npm produces several warning messages that look like this:
...
Specify port number for Profound.js server (8081):
This specifies the port number Profound.js will run from.- Install with Git integration (y)?
Answer 'y' to install necessary components for Git integration features. This question only appears on supported platforms. Currently, Git integration is only supported on Windows, Linux, and Mac.
Install Profound.js Connector IBM i ILE components (y)?
If you are installing on IBM i, you will have the option of installing the Profound.js Connector, which allows native IBM i applications to interface with Profound.js. You can press Enter here to proceed, or type 'n' and press Enter if you don't want to install the Connector.
...
- Specify CCSID for instance INSTANCE_NAME (37):
Press Enter to run the server instance with CCSID 37 or type an alternate CCSID. You should specify the same EBCDIC CCSID that you use with your IBM i applications. - Specify Node.js path for instance
This question allows you to specify an alternate Node.js binary path for the instance. The default value is the path of the Node.js binary used to run the installation process. Values such as these can be used to select alternate Node.js versions:- /QOpenSys/pkgs/bin/node (IBM i system default Node version)
- /QOpenSys/pkgs/lib/nodejs14/bin/node (Node.js 14)
- /QOpenSys/pkgs/lib/nodejs16/bin/node (Node.js 16)
Autostart server instance when TCP/IP starts (y)?
Press Enter to configure the server instance to autostart when TCP/IP starts, or type 'n' and press Enter if you don't want to autostart the instance.- Integrate with separate Profound UI instance (n)?
Press Enter to continue without configuring integration with Profound UI, or type 'y' and press Enter to configure Profound UI integration. - Profound UI instance name (PROFOUNDUI)?
This question only appears if you answered 'y' to the above question. Enter a Profound UI instance name to integrate with. This will set the configuration settings staticFilesDirectory and profounduiLibrary to the Profound UI instance's document root directory and installation library.
...