From 4bcc1223aabf31b08f6b2338fcc77d54abbc0c80 Mon Sep 17 00:00:00 2001 From: Marc Chantreux Date: Fri, 13 Jun 2008 01:28:31 +0200 Subject: [PATCH] add a kinda config file for Makefile.PL Signed-off-by: Joshua Ferraro --- install_misc/environment_Makefile.PL | 65 ++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 install_misc/environment_Makefile.PL diff --git a/install_misc/environment_Makefile.PL b/install_misc/environment_Makefile.PL new file mode 100644 index 0000000000..b89790644d --- /dev/null +++ b/install_misc/environment_Makefile.PL @@ -0,0 +1,65 @@ +# this file provides environment variables to use perl Makefile.PL +# without interactive mode. it can be seen as config file. + +# usage from shell: +# source environment_Makefile.PL && +# perl Makefile.PL && +# make install + +# TODO: add explainations from the installer ? + +export PERL_MM_USE_DEFAULT=1 +export KOHA_USER='koha' +export KOHA_GROUP='koha' + +# default root to install config files +#export INSTALL_BASE=/etc/koha + +# from now, commented export directives are alternatives +# uncomment one of them to choose it + +#export INSTALL_MODE=dev +#export INSTALL_MODE=single +export INSTALL_MODE=standard + +export INSTALL_SRU=no +#export INSTALL_SRU=yes + +export INSTALL_ZEBRA=yes +#export INSTALL_ZEBRA=no + +export INSTALL_PAZPAR2=no +#export INSTALL_PAZPAR2=yes + +export RUN_DATABASE_TESTS=no +#export RUN_DATABASE_TESTS=yes + +export PATH_TO_ZEBRA='' + +export DB_TYPE=mysql +#export DB_TYPE=Pg + +export DB_HOST='localhost' +export DB_NAME='koha' +export DB_USER='kohaadmin' +export DB_PASS='katikoan' + +export AUTH_INDEX_MODE=grs1 +#export AUTH_INDEX_MODE=dom + +#export ZEBRA_MARC_FORMAT=unimarc +export ZEBRA_MARC_FORMAT=marc21 + +#export ZEBRA_LANGUAGE=fr +export ZEBRA_LANGUAGE=en + +export ZEBRA_USER='kohauser' +export ZEBRA_PASS='zebrastripes' +export ZEBRA_SRU_HOST='localhost' +export ZEBRA_SRU_BIBLIOS_PORT='9998' +export ZEBRA_SRU_AUTHORITIES_PORT='9999' + +export MERGE_SERVER_HOST='localhost' +export MERGE_SERVER_PORT='11001' +export PAZPAR2_HOST='localhost' +export PAZPAR2_PORT='11002' -- 2.39.5