aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
blob: 7e4234fc1e8235193c3274910767afcc9a0a10a0 (plain)
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
These core Perl modules are required

    Digest::SHA
    MIME::Base64

The library depends on these extra modules:

    Config::Tiny
    Net::IDN::Encode
    Net::LDAP
    IO::Socket::SSL (for ldaps:// URIs)

The PSGI application depends on these additional modules:

    Authen::SASL
    Cache::FastMmap
    CHI
    Crypt::URandom
    HTML::Template
    CGI
    Plack::Builder
    Plack::Session::State::Cookie
    Plack::Session::Store::Cache
    URI::Escape

On Debian GNU/Linux systems, the following packages cover the
dependencies:

    libconfig-tiny-perl
    libnet-idn-encode-perl
    libnet-ldap-perl
    libio-socket-ssl-perl

    libauthen-sasl-perl
    libcache-fastmmap-perl
    libchi-perl
    libcrypt-urandom-perl
    libhtml-template-perl
    libcgi-pm-perl
    libplack-perl
    libplack-middleware-session-perl
    liburi-perl


For development, one can use plackup(1p) as follows to launch the PSGI
application:

    plackup -E development -R ./config.ini \
        --host 127.0.0.1 --port 5000  ./run.psgi

On the other hand, production servers should serve system CSS/JS
libraries, as well as fonts, rather than redirecting to the upstream
bundles.  On Debian GNU/Linux systems, the dependencies are found in the
following packages:

    fonts-font-awesome
    libjs-bootstrap
    libjs-jquery