Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can install these different instances by creating separate directories and running the 'npm install profoundjs' command from within the different directories. You should select a different port number for each instance.

The Profound UI static files directory can either be shared between different instances, or a separate directory (Profound UI installation) can be setup for each instance.

When installing Profound.js on IBM i, it is recommend recommended that you select a unique name the Profound.js Connector library and instance when prompted. The Profound.js installer will create both a base library and an connector/instance library as shown below:

Image Modified


PJS_BASE library

This library will contain a lot of the core IBM i objects for running Profound.js:

 


/profoundjs-base directory

This directory will contain a logs folder for each Profound.js instance, which will contain stderr / stdout log files pertaining to each instance:

 


<PJS Connector Library>

The library specified on install (in this case PJS_INST1) will be created, and will contain copies of the objects required to run each individual instance:

...

When calling Profound.js modules from an interactive Genie session, this library should be added to the session's library list. 


Profound.js Environment Variables in a Genie session

...

For more information on how to setup Genie for calling Profound.js modules and how to configure these environment variables, click here.