mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-29 23:31:34 +01:00
This reverts commit 46c5f1087d76d93497a1e8e5593564991ccb6682. Change-Id: I1464fdd1df075e93f885e3c1fbd02f0cc563fd4f
17 lines
348 B
Bash
Executable File
17 lines
348 B
Bash
Executable File
#!/bin/bash
|
|
|
|
ONOS_INSTALL_LOCATION=$2
|
|
echo ${ONOS_INSTALL_LOCATION}
|
|
|
|
export NODEJS_HOME=${ONOS_INSTALL_LOCATION}/
|
|
export PATH=$NODEJS_HOME/bin:$PATH
|
|
|
|
cd $ONOS_ROOT/tools/gui
|
|
|
|
# Install Project Dependencies
|
|
echo "Installing project dependencies"
|
|
npm install --loglevel=error
|
|
|
|
# Build the GUI Project
|
|
echo "Packaging JavaScript and CSS"
|
|
npm run build |