Revert "Bug 10606: Remove MySQLism in GetUpcomingDueIssues"
[koha.git] / install_misc / environment_Makefile.PL
1 # this file provides environment variables to use perl Makefile.PL 
2 # without interactive mode. it can be seen as config file.
3
4 # usage from shell:
5 # source environment_Makefile.PL &&
6 #     perl Makefile.PL &&
7 #     make install
8
9 # TODO: add explainations from the installer ? 
10
11 export PERL_MM_USE_DEFAULT=1 # makes the environment variables work
12 export KOHA_USER='koha'      # unix account used by zebra  
13 export KOHA_GROUP='koha'     # unix group used by zebra
14
15 # default root to install config files
16 export DESTDIR=$HOME         # here would be koha configuration, logs and zebra base 
17
18 # The installer tries to guess what's your ip address and your hostname
19 # if you plan to use koha with vhosts strategy or run koha on a recent linux
20 # guesses won't be appropriate: edit by yourself
21 # If you plan to use vhosts, you have to edit the koha-httpd.conf file
22 # anyway :(
23 export WEBSERVER_HOST=EDITME
24 export WEBSERVER_IP=EDITME
25
26 # from now, commented export directives are alternatives
27 # uncomment one of them to choose it
28
29 #export INSTALL_MODE=dev
30 #export INSTALL_MODE=single
31 export INSTALL_MODE=standard
32
33 export INSTALL_SRU=no
34 #export INSTALL_SRU=yes
35
36 export INSTALL_ZEBRA=yes
37 #export INSTALL_ZEBRA=no
38
39 export INSTALL_PAZPAR2=no
40 #export INSTALL_PAZPAR2=yes
41
42 export RUN_DATABASE_TESTS=no
43 #export RUN_DATABASE_TESTS=yes
44
45 export PATH_TO_ZEBRA=''
46
47 export DB_TYPE=mysql
48 #export DB_TYPE=Pg
49
50 export DB_HOST='localhost'
51 export DB_NAME='koha'
52
53 # /!\ concider changing password if you don't want 
54 # some script kiddies to crack you koha server
55 export DB_USER='kohaadmin'
56 export DB_PASS='katikoan'
57
58 #export AUTH_INDEX_MODE=grs1
59 export AUTH_INDEX_MODE=dom
60 #export BIB_INDEX_MODE=grs1
61 export BIB_INDEX_MODE=dom
62
63 #export ZEBRA_MARC_FORMAT=unimarc
64 export ZEBRA_MARC_FORMAT=marc21
65
66 #export ZEBRA_LANGUAGE=fr
67 export ZEBRA_LANGUAGE=en
68
69 # /!\ concider changing password if you don't want 
70 # some script kiddies to crack you koha server
71 export ZEBRA_USER='kohauser'
72 export ZEBRA_PASS='zebrastripes'
73 export ZEBRA_SRU_HOST='localhost'
74 export ZEBRA_SRU_BIBLIOS_PORT='9998'
75 export ZEBRA_SRU_AUTHORITIES_PORT='9999'
76
77 export MERGE_SERVER_HOST='localhost'
78 export MERGE_SERVER_PORT='11001'
79 export PAZPAR2_HOST='localhost'
80 export PAZPAR2_PORT='11002'