[open-ils-commits] r1455 - ESI-Examples/trunk/tools/eg_dev_squeeze_installer (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon May 23 15:12:21 EDT 2011
Author: erickson
Date: 2011-05-23 15:12:16 -0400 (Mon, 23 May 2011)
New Revision: 1455
Modified:
ESI-Examples/trunk/tools/eg_dev_squeeze_installer/eg_dev_squeeze_installer.sh
Log:
Update installer to pull code from the Git repositories
Modified: ESI-Examples/trunk/tools/eg_dev_squeeze_installer/eg_dev_squeeze_installer.sh
===================================================================
--- ESI-Examples/trunk/tools/eg_dev_squeeze_installer/eg_dev_squeeze_installer.sh 2011-05-17 18:27:48 UTC (rev 1454)
+++ ESI-Examples/trunk/tools/eg_dev_squeeze_installer/eg_dev_squeeze_installer.sh 2011-05-23 19:12:16 UTC (rev 1455)
@@ -76,8 +76,8 @@
# Install pre-reqs
mkdir -p /usr/src/evergreen;
cd /usr/src/evergreen;
-wget 'http://svn.open-ils.org/trac/OpenSRF/export/HEAD/trunk/src/extras/Makefile.install' -O Makefile.install.osrf
-wget 'http://svn.open-ils.org/trac/ILS/export/HEAD/trunk/Open-ILS/src/extras/Makefile.install' -O Makefile.install.ils
+wget 'http://git.evergreen-ils.org/?p=Evergreen.git;a=blob_plain;f=Open-ILS/src/extras/Makefile.install;hb=HEAD' -O Makefile.install.ils
+wget 'http://git.evergreen-ils.org/?p=OpenSRF.git;a=blob_plain;f=src/extras/Makefile.install;hb=HEAD' -O Makefile.install.osrf
make -f Makefile.install.osrf debian-squeeze
make -f Makefile.install.ils debian-squeeze
@@ -110,28 +110,27 @@
# Build and install OpenSRF
OSRF_COMMAND='
-mkdir /home/opensrf/OpenSRF;
-mkdir /home/opensrf/ILS;
-svn co svn://svn.open-ils.org/OpenSRF/trunk /home/opensrf/OpenSRF/trunk;
-svn co svn://svn.open-ils.org/ILS/trunk /home/opensrf/ILS/trunk;
-cd /home/opensrf/OpenSRF/trunk;
+cd /home/opensrf;
+git clone git://git.evergreen-ils.org/Evergreen.git
+git clone git://git.evergreen-ils.org/OpenSRF.git
+cd /home/opensrf/OpenSRF;
./autogen.sh;
./configure --prefix=/openils --sysconfdir=/openils/conf;
make;'
su - opensrf sh -c "$OSRF_COMMAND"
-cd /home/opensrf/OpenSRF/trunk
+cd /home/opensrf/OpenSRF
make install
# Build and install the ILS
OSRF_COMMAND='
-cd /home/opensrf/ILS/trunk;
+cd /home/opensrf/Evergreen;
./autogen.sh;
./configure --prefix=/openils --sysconfdir=/openils/conf;
make;'
su - opensrf sh -c "$OSRF_COMMAND"
-cd /home/opensrf/ILS/trunk;
+cd /home/opensrf/Evergreen;
make install
cp /openils/conf/oils_web.xml.example /openils/conf/oils_web.xml
cp /openils/conf/opensrf.xml.example /openils/conf/opensrf.xml
@@ -165,7 +164,7 @@
su - postgres sh -c 'createuser -P -s evergreen;'
# Apply the DB schema
-cd /home/opensrf/ILS/trunk;
+cd /home/opensrf/Evergreen;
perl Open-ILS/src/support-scripts/eg_db_config.pl --update-config \
--service all --create-schema --create-bootstrap --create-offline \
--user evergreen --password evergreen --hostname localhost \
More information about the open-ils-commits
mailing list