blob: 98b56234f45702a9be42fb168c4183d26899e406 [file] [log] [blame]
Steven Burrowsa145e102017-06-16 13:37:50 -04001#!/bin/bash
2
3ONOS_INSTALL_LOCATION=$2
4echo ${ONOS_INSTALL_LOCATION}
5
Steven Burrows1c2a9682017-07-14 16:52:46 +01006export NODEJS_HOME=${ONOS_INSTALL_LOCATION}
Steven Burrowsa145e102017-06-16 13:37:50 -04007export 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