diff options
author | Magnus Ahltorp <map@kth.se> | 2014-09-24 15:41:26 +0200 |
---|---|---|
committer | Magnus Ahltorp <map@kth.se> | 2014-09-24 15:41:26 +0200 |
commit | 1cd525c5c710ad067a8d11a0d665e14665b5be3e (patch) | |
tree | 95d3f886d1838be2054ce60d0751f1a9d9722a11 /README.md | |
parent | d0c0ab627445f1dcb8eb3dcdb7c6bda3809a088d (diff) |
Start inets service automatically and update README.md with new build instructions
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 20 |
1 files changed, 8 insertions, 12 deletions
@@ -4,29 +4,25 @@ catlfish is a Certificate Transparency log server (RFC 6962). # Compile - $ erl -make + $ CTROOT=.. make + $ make release # Requirements -A running plop application, which in turn requires mnesia to be -running. +A compiled plop application in ../plop -jiffie for JSON encoding and decoding. +A compiled https://github.com/davisp/jiffy (for JSON encoding and decoding) in ../jiffy # Start -NOTE: Kludge ahead! catlfish will turn into a proper OTP application -at some point in the future. +Make sure plop has a database. See `plop/README`. Then run catlfish: -Make sure mnesia and plop are running and that plop has been -installed, i.e. has a database. See `plop/README`. You might also want -to `code:add_pathz("path/to/plop/ebin")`. - - 1> inets:start(httpd, [{proplist_file, "httpd_props.conf"}]). + $ (cd rel ; bin/erl -config catlfish) # Logs and traces -As configured in httpd_props.conf, logs can be found in webroot/log/. +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 |