summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README2
-rw-r--r--src/https_server.erl4
2 files changed, 6 insertions, 0 deletions
diff --git a/README b/README
index b80fa17..e55f165 100644
--- a/README
+++ b/README
@@ -9,6 +9,8 @@ Requirements
A running plop application, which in turn requires mnesia to be
running.
+ jiffie for JSON encoding and decoding.
+
Start
NOTE: Kludge ahead! ctls will turn into a proper OTP application at
diff --git a/src/https_server.erl b/src/https_server.erl
index a0b81b4..ccbc2e7 100644
--- a/src/https_server.erl
+++ b/src/https_server.erl
@@ -3,6 +3,10 @@
start() ->
io:format("Starting https server~n"),
+ case code:ensure_loaded(jiffy) of
+ {module, jiffy} -> ok;
+ _ -> io:format("missing jiffy -- please add to load path~n")
+ end,
%% TODO: put this in httpd_props.conf and use that at erlang
%% start. inets:start(httpd, {proplist_file, "httpd_props.conf"}).
ServerRoot = "/home/linus/usr/src/ct/ctls/webroot",