5 ### Set the node environment.
10 ### Set the NVM root dir
11 NVM_DIR=/home/${USER}/.nvm
15 echo "Set the node environment."
22 ### Add newer c++ compiler.
23 if [ -f /opt/rh/devtoolset-4/enable ]; then
24 . /opt/rh/devtoolset-4/enable
29 ### Set the node version manager version.
30 echo "Set the node version manager version."
31 nvm use ${NODE_VERSION}
37 ### Run the Node package manager (NPM).
38 echo "Run the Node package manager (NPM)."
45 ### Build the application.
46 echo "Build the application."