From 1cd525c5c710ad067a8d11a0d665e14665b5be3e Mon Sep 17 00:00:00 2001 From: Magnus Ahltorp Date: Wed, 24 Sep 2014 15:41:26 +0200 Subject: Start inets service automatically and update README.md with new build instructions --- README.md | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'README.md') 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 -- cgit v1.1