4 ### Set the node environment.
7 #echo "Set the node environment."
14 ### Add newer c++ compiler.
15 #if [ -f /opt/rh/devtoolset-4/enable ]; then
16 # . /opt/rh/devtoolset-4/enable
22 ### Set the node version manager version.
23 #echo "Set the node version manager version."
24 #nvm use ${NODE_VERSION}
29 ### Run install bower.
30 echo "Run install bower."
31 #if [ -e $NVM_DIR/versions/node/${NODE_VERSION}/lib/node_modules/bower/bin/bower ]; then
32 # echo " - bower is already installed."
41 ### Run install grunt-cli.
42 echo "Run install grunt-cli."
43 #if [ -e $NVM_DIR/versions/node/${NODE_VERSION}/lib/node_modules/grunt-cli/bin/grunt ]; then
44 # echo " - grunt-cli is already installed."
53 ### Clean the Node cache.
54 #echo "Clean the Node cache - if stuck."
61 ### Run the Node package manager (NPM).
62 echo "Run the Node package manager (NPM)."
63 #npm config set proxy http://one.proxy.att.com:8080
64 #npm config set https-proxy http://one.proxy.att.com:8080
65 #npm config set registry https://registry.npmjs.org
73 ### Install the Bower components.
74 echo "Install the Bower components."
81 ### Build the application.
82 echo "Build the application."