blob: 8f6a2cbdc7c601b92d33eef2e1f60949efb28431 [file] [log] [blame]
Steven Burrowsa145e102017-06-16 13:37:50 -04001#!/bin/bash
2
3ONOS_INSTALL_LOCATION=$2
4echo ${ONOS_INSTALL_LOCATION}
5
6export NODEJS_HOME=${ONOS_INSTALL_LOCATION}/
7export PATH=$NODEJS_HOME/bin:$PATH
8
9cd $ONOS_ROOT/tools/gui
Steven Burrowsa145e102017-06-16 13:37:50 -040010
11# Install Project Dependencies
12echo "Installing project dependencies"
13npm install --loglevel=error
14
15# Build the GUI Project
16echo "Packaging JavaScript and CSS"
17npm run build