install-eg.sh: web client install changes for EG 3.1
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Thu, 12 Apr 2018 22:10:39 +0000 (15:10 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Thu, 12 Apr 2018 22:10:39 +0000 (15:10 -0700)
deployment/install-eg.sh

index 4563d80..3be77a9 100755 (executable)
@@ -82,9 +82,8 @@ if [[ -n "$WEBCLIENT" ]] ; then
     # install dependencies
     cd ${BUILDDIR}/Open-ILS/web/js/ui/default/staff/
     suwrap "npm install" ${INSTALL_USER}
-    suwrap "bower 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; }
   fi
-  suwrap "grunt all" ${INSTALL_USER} || { echo 'Could not install files for web-based staff client' ; exit 1; }
 fi
 
 # as INSTALL_USER