You can install Node.js as a web application framework to replace the Flask framework
that is included with the IBM®
Guardium® GUI
Application Framework SDK.
Procedure
-
Download the
Node.js archive (.tar) that you want to use, and copy it
to app/src_deps/init directory.
-
Create an installation script that is similar to the following example in the same folder that
references the archive node-v6.3.0-linux-x64.tar.gz that you want to use (in
this case):
#!/bin/bash
##
## install node and npm from source tarball, and make available on the path
##
cd /usr/local
tar --strip-components 1 -xzf /src_deps/init/node-v6.3.0-linux-x64.tar.gz
-
Create a file ordering.txt in the same folder as the following
content:
/src_deps/init/install_nodejs_npm.sh
The ordering.txt notifies IBM
Guardium to run the
Node.js installation script.