aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index ec26f63..b466a92 100644
--- a/README.md
+++ b/README.md
@@ -8,3 +8,15 @@ between client and the server.
I've learned this stuff during my Jane Streets internship this year. I'll probably use
this repository as a handy example for my future OCaml code.
+
+## Usage
+
+To run the server, run from the root directory:
+
+ $ dune exec -- ./server/bin/server.exe -log-level debug
+ [INFO] ("Spinning up server"(where_to_listen((socket_type((family PF_INET)(socket_type SOCK_STREAM)))(address 0.0.0.0:8080)(listening_on <opaque>))))
+
+To make a call, run the client:
+
+ $ dune exec -- ./client/bin/client.exe hello-world "Ciao" "Franek"
+ Ciao, Franek!