summaryrefslogtreecommitdiff
path: root/README.md
blob: da15a4fb7756f0d894566c83b82d483314302db0 (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
# catlfish

catlfish is a Certificate Transparency log server (RFC 6962).

# Compile

    $ make
    $ make release

# Requirements

A compiled plop application in ../plop

A compiled https://github.com/basho/lager (for logging) in ../lager
A compiled https://github.com/mochi/mochiweb (for web server functionality) in ../mochiweb
A compiled https://github.com/benoitc/hackney.git (http client) in ../hackney

Note: hackney is dependent on rebar, but doesn't include one. You can
use the rebar from lager by adding "REBAR=../lager/rebar" to the make
command line, or install rebar yourself.

# Start

    $ (cd rel ; bin/erl -config catlfish)

# Logs and traces

As configured in httpd_props.conf, logs can be found in
catlfish/webroot/log in the rel directory.

To enable a crazy amount of tracing information from inets, do

    1> inets_trace:enable(max, io).

# To do

- Stop using inets httpd mod_esi and make catlfish a proper
  application.