This repository has been archived by the owner on Jan 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
/
vars.sample
executable file
·92 lines (80 loc) · 3.04 KB
/
vars.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# If you are using Ubuntu or a related distribution, you can try to prepare
# the environment by running
# sudo make -C env ubuntu_deps_root
# make -C env ubuntu_deps_regular
# This will create a vars-ubuntu file in this directory which you can use
# instead of editing this sample.
# {{{ PostgreSQL
#
# These database settings are probably fine if you built postgres from source
# and you running it under your user. If you installed it from a package
# manager, like apt-get/dpkg in debian/ubuntu, this won't work.
# See the template in env/vars-ubuntu.php
PGHOST=/tmp
PGPORT=5432
PGDATABASE=transmart
PGUSER=$USER
PGPASSWORD=
# This directory must exist. If you are running PostgreSQL under your own user,
# you just have to make sure the directory is owned by you.
# Otherwise, you must create some directories under it and assign ownership to
# them to the postgres user. For instance:
# mkdir -p $TABLESPACES/{biomart,deapp,indx,search_app,transmart}
# chown -R postgres:postgres $TABLESPACES
# end with /
TABLESPACES=$HOME/pg/tablespaces/
# The directory where the postgres client utilities are
# If using a package manager, probably /usr/bin/
# end with /
PGSQL_BIN=$HOME/pg/bin/
# }}}
# {{{ Oracle
ORAHOST=localhost
ORAPORT=1521
ORASID=orcl
ORAUSER="sys as sysdba"
ORAPASSWORD=mypassword
# Set this to 1 if you want Oracle tablespaces to be created (and dropped!)
# by transmart-data. In that case, you must also specify an oracle owned
# directory that will be used to set the system param DB_CREATE_FILE_DEST
ORACLE_MANAGE_TABLESPACES=0
ORACLE_TABLESPACES_DIR=/home/oracle/app/oracle/oradata
# }}}
# Only needed for ETL
# End with /
KETTLE_JOBS_PSQL=/path/to/transmart-ETL/Postgres/GPL-1.0/Kettle/Kettle-ETL/
# End with /
KETTLE_JOBS_ORA=/path/to/transmart-ETL/Kettle-GPL/Kettle-ETL/
KITCHEN=/path/to/data-integration/kitchen.sh
#only needed for configuration
#end with /
TSUSER_HOME=$HOME/
# {{{ DB user passwords
# They default to the same as the username.
# These are set when the database is created and they are used when
# connecting to the database (e.g. for ETL).
# You can reset passwords to the values specified here with:
# make -C ddl/postgres/GLOBAL load_passwords
# make -C ddl/oracle load_passwords
# Depending on whether you're using oracle or postgres.
#
#export BIOMART_USER_PWD=biomart_user
#export BIOMART_PWD=biomart
#export DEAPP_PWD=deapp
#export I2B2METADATA_PWD=i2b2metadata
#export I2B2DEMODATA_PWD=i2b2demodata
#export SEARCHAPP_PWD=searchapp
#export TM_CZ_PWD=tm_cz
#export TM_LZ_PWD=tm_lz
#export TM_WZ_PWD=tm_wz
# }}}
# If your distro uses an old version of groovy, do make -C env groovy,
# and uncomment this. Version 2.1.9 is known to work, versions before 2
# are known not to work
#DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
#export PATH=$DIR/env:$PATH
export PGHOST PGPORT PGDATABASE PGUSER PGPASSWORD TABLESPACES PGSQL_BIN \
KETTLE_JOBS_PSQL KETTLE_JOBS_ORA KITCHEN TSUSER_HOME ORAHOST ORAPORT \
ORASID ORAUSER ORAPASSWORD ORACLE_MANAGE_TABLESPACES \
ORACLE_TABLESPACES_DIR
# vim: fdm=marker