add Angular (eg2) install steps
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 8 May 2019 22:34:36 +0000 (15:34 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 8 May 2019 22:34:36 +0000 (15:34 -0700)
deployment/install-eg.sh

index b03ef93..d4ad0a6 100755 (executable)
@@ -93,7 +93,10 @@ if [[ ! -n "$TARBALL" && ! -n "$SKIPWEBCLIENT" ]] ; then
     # install dependencies
     cd ${BUILDDIR}/Open-ILS/web/js/ui/default/staff/
     suwrap "npm install" ${INSTALL_USER}
-    suwrap "npm run build-prod && npm run test" ${INSTALL_USER} || { echo 'Could not install files for web-based staff client' ; exit 1; }
+    suwrap "npm run build-prod && npm run test" ${INSTALL_USER} || { echo 'Could not install files for AngularJS staff client' ; exit 1; }
+    cd ${BUILDDIR}/Open-ILS/src/eg2/
+    suwrap "npm install" ${INSTALL_USER}
+    suwrap "ng build --prod && npm run test" ${INSTALL_USER} || { echo 'Could not install files for Angular staff client' ; exit 1; }
   fi
 fi