Installing Node.js as a source dependency
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.
- 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
#!/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
/src_deps/init/install_nodejs_npm.shThe ordering.txt notifies IBM Guardium to run the Node.js installation script.