...
If you have to copy a Profound.js module into a directory that does not exist on your local machine yet, do not forget to add it to your pathlist on your Profound.js server settings.
Step 2
Once you have mapped the files to your local machine, you should test that your IBM i can reach your local machine.
- On your genie session, call PJSMYIP: CALL PJSMYIP. This changes your session to point to your local Profound.js server.
- Start your local Profound.js server. Change your current directory to your Profound.js and use 'node start' to start the Profound.js server.
- Lastly, call your program: CALL PRODAPP. This will redirect the call to your local Profound.js server, where the JavaScript is run.