Install scripts for EG 3.7 / Ubuntu 20.04
authorJeff Davis <jeff.davis@bc.libraries.coop>
Wed, 17 Mar 2021 19:56:08 +0000 (12:56 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Thu, 20 May 2021 17:04:33 +0000 (10:04 -0700)
deployment/install-eg.sh
deployment/install-osrf.sh

index e18e8d9..e4fdaf7 100755 (executable)
@@ -9,11 +9,11 @@ INSTALLDIR="/srv/openils"
 REPO="git+ssh://git@git.sitka.bclibraries.ca/sitka/evergreen"
 #REPO="git://git.evergreen-ils.org/working/Evergreen.git"
 #REPO="git://git.evergreen-ils.org/Evergreen.git"
-BRANCH="user/jeffdavis/eg352ish-tpac"
-STAMP_ID="rel_3_5_1"
-VERSION="3.5.1.sitka.1"
+BRANCH="user/jeffdavis/eg37-pre-alpha-tpac"
+STAMP_ID="rel_3_7"
+VERSION="3.7.alpha.sitka.1"
 SITKACONF="/home/${DEFAULT_USER}/sysadmin"
-SITKACONF_BRANCH="master"
+SITKACONF_BRANCH="ubuntu-focal"
 SITKATOOLS="/root/sitka-tools"
 
 THISHOST=`hostname -s`
@@ -83,9 +83,9 @@ else
 fi
 
 # as root
-cd ${BUILDDIR} && make -f Open-ILS/src/extras/Makefile.install ubuntu-bionic
+cd ${BUILDDIR} && make -f Open-ILS/src/extras/Makefile.install ubuntu-focal
 if [[ ! -n "$TARBALL" ]] ; then
-  cd ${BUILDDIR} && make -f Open-ILS/src/extras/Makefile.install ubuntu-xenial-translator # required for web client and custom translations
+  cd ${BUILDDIR} && make -f Open-ILS/src/extras/Makefile.install ubuntu-focal-translator # required for web client and custom translations
 fi
 # by default, CPAN needs some manual input at this point; you can just accept all defaults
  
@@ -115,6 +115,10 @@ if [[ ! -n "$TARBALL" && ! -n "$SKIPWEBCLIENT" ]] ; then
   fi
 fi
 
+# install Bootstrap OPAC dependencies
+cd ${BUILDDIR}/Open-ILS/web/opac/deps
+suwrap "npm install" {$INSTALL_USER}
+
 # as INSTALL_USER
 [ ! -n "$TARBALL" ] && suwrap "cd ${BUILDDIR} && autoreconf -i" ${INSTALL_USER} # not required for release versions
 suwrap "PATH=${INSTALLDIR}/bin:\$PATH cd ${BUILDDIR} && PATH=${INSTALLDIR}/bin:\$PATH ./configure -C --prefix=${INSTALLDIR} --sysconfdir=${INSTALLDIR}/conf --with-opensrf-headers=${INSTALLDIR}/include/ --with-opensrf-libs=${INSTALLDIR}/lib/" ${INSTALL_USER}
index c01b021..104bc84 100755 (executable)
@@ -4,10 +4,10 @@ HOMEDIR="/home/${DEFAULT_USER}"
 BUILDDIR="${HOMEDIR}/opensrf"
 INSTALLDIR="/srv/openils"
 #BRANCH="rel_3_2"
-BRANCH="user/berick/lpxxx-c-backlog-speedbump"
+BRANCH="user/jeffdavis/lp1919502-c-backlog-speedbump"
 HOSTNAME="nonprod"
 SITKACONF="${HOMEDIR}/sysadmin"
-SITKACONF_BRANCH="master"
+SITKACONF_BRANCH="ubuntu-focal"
 
 WEBSOCKETD_VERSION="0.3.0"
 WEBSOCKETD_ZIP="websocketd-${WEBSOCKETD_VERSION}-linux_amd64.zip"
@@ -76,7 +76,7 @@ sed -i "s|__HOSTNAME__|${THISHOST}|g" /etc/apache2/apache2.conf
 
 # as root
 echo "Installing OpenSRF prerequisites for Ubuntu..."
-cd ${BUILDDIR} && make -f src/extras/Makefile.install ubuntu-bionic
+cd ${BUILDDIR} && make -f src/extras/Makefile.install ubuntu-focal
  
 # as DEFAULT_USER
 echo "Configuring and building OpenSRF..."