-
Notifications
You must be signed in to change notification settings - Fork 1
/
INSTALLATION
50 lines (38 loc) · 1.4 KB
/
INSTALLATION
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
#############################
### build prerequisites ###
#############################
install php5-cli, php-pear, php5-pgsql, php5-curl
install phing
$ pear channel-discover pear.phing.info
$ pear install --alldeps phing/phing
the extension php_phar.dll should be included and enabled in a standard php installation, otherwise see
http://www.php.net/manual/en/phar.setup.php
in your php.ini, change phar.readonly to Off:
[Phar]
phar.readonly = Off
#############################
### building & installing ###
#############################
execute phing to build & deploy into this directory
$ phing
alternatively, specify where to install (example for $HOME)
$ phing -D install_dir=$HOME/bin -D config_dir=$HOME/etc
#############################
### edit configuration ###
#############################
<filename>.example files have been copied to your $config_dir (./etc if run without parameters)
db-config.php will need some editing
db-cvterms.php should be ready to use if you use our prepared db
#############################
### usage prerequisites ###
#############################
you will need PEAR packages (install via pear install --alldeps <pkgname>)
Console_CommandLine
Console_Table
Console_Progressbar
Log
and
Propel::Runtime, installed via
$ pear channel-discover pear.propelorm.org
$ pear install -a propel/propel_runtime
now you're set to go!