Versions Compared

Key

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

...

Note
titleBefore you start!
Before starting the installation, please be sure to review the installation prerequisites.

This guide will teach you how to install Profound.js on to an IBM i which is disconnected from the internetInternet. For this:

  • You will need a system (Win10, Mac, Linux), on the same network as the IBM i, which is connected to the internetInternet - this could be your local machine.
  • That same system will need Node.js+NPM installed. Download those here
  • The IBM i you're working with will need Node.js and NPM installed. Please see Installing Prerequisites..
  • Profound UI will need to be installed. The Profound.js installer will prompt the user for their htdocs directory. If the directory provided does not exist, the installation will hang as it tries to connect to the internet to download a copy.

...

Code Block
titleShell
C:\Users\profoundlogic> sinopia
 warn  --- config file  - C:\Users\profoundlogic\AppData\Roaming\sinopia\config.yaml
 warn  --- http address - http://0.0.0.0:4873/

So Sinopia can be access accessed from the local network, you need to add the following text to the config.yaml that Sinopia generated.

...

On your IBM i, before you continue to install Profound.js, you must change the registry which NPM will use.

  1. From SSH (or QP2TERM) you should use npm set registry <URL>, where <URL> is 'http://localmachine:4873' (without quote marks) and where localmachine is the internal IP or hostname of the system running Sinopia)
  2. After changing the registry, you should continue with Installing/Upgrading Profound.js as the 'npm install profoundjs' will now point at the proxy for all the dependencies.
  3. After the installation, you should reset the registry by using 'npm set registry https://registry.npmjs.org/'