-
Notifications
You must be signed in to change notification settings - Fork 0
/
REQUIREMENTS
74 lines (63 loc) · 2.39 KB
/
REQUIREMENTS
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
REQUIREMENTS
- PHP v5.4.13 or higher
- PEAR modules
- Mail v1.2.0
- Mail-Mime v1.8.2
- Net_SMTP v1.4.3
- Auth_SASL v1.0.4
- PECL modules
- proctitle
- apd
- other PHP modules
- mbstring
- recode
- mcrypt
- gd
- process
- PostgreSQL Extensions
- plxslt (https://github.com/petere/plxslt)
- Perl Modules
- perl-Text-Unidecode (on PostgreSQL server machine)
- Text::Diff (on PostgreSQL server machine)
- Zend Framework v1.12.20 with DoJo
- apply zend patches
- copy Dialog.js into /opt/zend/externals/dojo/dojox/
- extract /opt/zend/externals/dojo/dojox/grid/compatGrid.tar.gz
- add our custom PlotKit them under externals/dojo/dojox/charting/themes/PlotKit/iasa.js
- create a DoJo custom build by calling
./build.sh profile=appdb action=release cssOptimize=comments mini=true
from /opt/zend/externals/dojo/util/buildscripts
- edit externals/dojo/release/dojo/dojo.js and replace
dojo.version={major:0,minor:0,patch:0,flag:"dev",
with
dojo.version={major:1,minor:5,patch:0,flag:"dev",
in order to properly reflect the version of dojo that we've used as a base
- SimpleSAMLphp, for user authentication
- patch lib/SimpleSAML/Store/SQL.php to simulate UPSERT for PostgreSQL, instead of INSERT'ing, catching errors and UPDATE'ing
- Javascript Libraries (public/js)
- tipsy (SVG compatible fork from https://github.com/bigmlcom/tipsy)
- plupload v.1.5.5 (.swf and .xap files must be in public and public/js folders)
- tinymce folder (v.3.4.9)
- shortcut.js
- d3 (v3 and v4)
- moment.js (v2.19.2) from http://momentjs.com/downloads/moment.min.js
- dijit (../zend/externals/dojo/release/dojo/dijit/)
- dojo (../zend/externals/dojo/release/dojo/dojo/)
- dojox (../zend/externals/dojo/release/dojo/dojox/)
- ../compat -> js/dojox/grid
- ../cgi -> ../cgi-bin
- System packages
- recode
- ImageMagick
- OpenLDAP
- Apache
- bibutils, for publication import functionality
- Configuration
- add the PHP PEAR path to the "include_path" variable in php.ini
- make sure there is a working copy of php_browscap.ini on the system and add proper browscap entry in php.ini
- Apache configuration should include the following lines
AddEncoding x-gzip .jgz
AddType application/javascript .jgz
AddType text/css .cgz
AddType text/x-component .htc
- Issue ALTER USER appdb SET bytea_output = 'escape' in order for PNGs stored in database to work