Warning |
---|
|
...
Code Block | ||
---|---|---|
| ||
cd / mkdir profoundjs cd profoundjs npm install profoundjs@beta |
Completing the Installation (
...
New Install Only)
When performing a new/fresh installation of Profound.js, an additional step is required to complete the installation. This section can be ignored if installing an upgrade to an existing Profound.js instance. To complete a new installation, run this command from within your installation directory:
...
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.
...
/profoundjs-base/instances/INSTANCE_NAME
- 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.js 14)
- /QOpenSys/pkgs/lib/nodejs16/bin (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.
...
If there are any problems downloading or installing the 'profoundjs' package, NPM will print error messages on screen, installing Profound.js, error messages will show on screen. You may need to scroll up to see them. A log is written for all installations, and errors may include messages like this:
To troubleshoot, review all messages on screen and in the installation log file. If the cause of the problem is not clear, contact Profound Logic Support at support@profoundlogic.com and provide ALL the messages from the screen along with a copy of the installation log file.
If errors occurred during the Completing the Installation step, then the installation is NOT complete. After resolving any problems, run node complete_install.js again to complete the installation.