Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This API allows you to update your copy of Profound UI to be used by Profound.js from a command line. This should only be used on a non-IBM i system because the proper way to install Profound UI on IBM i is by downloading the Windows Executable (GUI) Installer or the Save File (5250) Installer from http://www.profoundlogic.com/download.

The API will first check if the an updated version of Profound UI is available. If an update is available, the user is prompted with an option to download the update. Once the download completed, it is extracted into the configured directory as specified by the staticFilesDirectory setting.

Profound.js ships with a script named updatepui.js that provides for a simple way to use this API. You can call it like this:

node updatepui

 

Example

updatepui.js
// Load Profound.js
var profoundjs = require("profoundjs");

// Apply configuration
var config = require("./config.js");
profoundjs.applyConfig(config);

// Try updating Profound UI
profoundjs.updatepui();
  • No labels