summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2014-06-04 14:43:16 +0200
committerLinus Nordberg <linus@nordberg.se>2014-06-04 14:43:16 +0200
commit43b64cb530c59d67b8d12f48ea75050fdbde37c6 (patch)
tree41d496d2d58a651950b1c55c3ff3be357164edc0
parentbaf14478500f3e673a47bef62f56aca0d69d093c (diff)
Turn README into README.md.
-rw-r--r--README27
-rw-r--r--README.md37
2 files changed, 37 insertions, 27 deletions
diff --git a/README b/README
deleted file mode 100644
index 5e96842..0000000
--- a/README
+++ /dev/null
@@ -1,27 +0,0 @@
-ctls is a Certificate Transparency log server (RFC 6962).
-
-Compile
-
- $ erl -make
-
-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
- some point in the future.
-
- Make sure mnesia and plop are running and that plop has been
- installed, i.e. has a database. See plop/README. Also, you might
- want to code:add_pathz("path/to/plop/ebin").
-
- 1> inets:start(httpd, [{proplist_file, "httpd_props.conf"}]).
-
-To do
-
- Stop using inets httpd mod_ets and make it a proper application.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..e9fe990
--- /dev/null
+++ b/README.md
@@ -0,0 +1,37 @@
+# ctls
+
+ctls is a Certificate Transparency log server (RFC 6962).
+
+# Compile
+
+ $ erl -make
+
+# 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
+some point in the future.
+
+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"}]).
+
+# Logs and traces
+
+As configured in httpd_props.conf, logs can be found in webroot/log/.
+
+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 ctls a proper application.