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 JSA GUI Application Framework SDK.
- Download the
.tar) that you want to use, and copy it to
- 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.gzthat 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.txtin the same folder as the following content:
ordering.txtnotifies JSA to run the Node.js installation script.