ocsigenserver.conf.in 977 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
<!-- -*- Mode: Xml -*- -->
<ocsigen>

  <server>

    <port>8001</port>

    <logdir>_RUNDIR_/log</logdir>
    <datadir>_RUNDIR_/lib</datadir>
10
    <commandpipe>_TMPDIR_/run/ocsigenserver_command</commandpipe>
11
12
13
14
15
16
17
18
19
20
21
22
23

    <charset>utf-8</charset>

    <findlib path="/usr/lib/ocaml"/>

    <extension findlib-package="ocsigenserver.ext.staticmod"/>

    <extension findlib-package="ocsigenserver.ext.ocsipersist-sqlite">
      <database file="_RUNDIR_/lib/ocsidb"/>
    </extension>

    <extension findlib-package="eliom.server"/>

24
25
26
27
    <extension findlib-package="zarith"/>
    <extension findlib-package="uuidm"/>
    <extension findlib-package="atdgen"/>

28
    <host charset="utf-8" hostfilter="*" defaulthostname="localhost">
29
30
31
      <site path="static" charset="utf-8">
        <static dir="_SRCDIR_/helios/static" />
      </site>
32
      <eliom module="_build/src/server.cma">
Stephane Glondu's avatar
Stephane Glondu committed
33
        <elections file="tests/data/elections.json"/>
34
      </eliom>
35
36
37
38
39
    </host>

  </server>

</ocsigen>