summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2014-09-24 15:41:26 +0200
committerMagnus Ahltorp <map@kth.se>2014-09-24 15:41:26 +0200
commit1cd525c5c710ad067a8d11a0d665e14665b5be3e (patch)
tree95d3f886d1838be2054ce60d0751f1a9d9722a11 /README.md
parentd0c0ab627445f1dcb8eb3dcdb7c6bda3809a088d (diff)
Start inets service automatically and update README.md with new build instructionsreleasemanagement3
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 8 insertions, 12 deletions
diff --git a/README.md b/README.md
index 13cb679..7b6f625 100644
--- a/README.md
+++ b/README.md
@@ -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