From ccb6e4d4f1bfc762dd9d93b55b2941da2a1e59d2 Mon Sep 17 00:00:00 2001 From: eidheim Date: Tue, 18 Oct 2016 17:38:39 +0200 Subject: [PATCH] Updated compile and run instructions --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cb4edad..c061ab0 100644 --- a/README.md +++ b/README.md @@ -31,13 +31,16 @@ See particularly the JSON-POST (using Boost.PropertyTree) and the GET /match/[nu Compile with a C++11 compliant compiler: ``` -cmake . +mkdir build +cd build +cmake .. make +cd .. ``` #### HTTP -Run the server and client examples: `./http_examples` +Run the server and client examples: `./build/http_examples` Direct your favorite browser to for instance http://localhost:8080/ @@ -45,7 +48,7 @@ Direct your favorite browser to for instance http://localhost:8080/ Before running the server, an RSA private key (server.key) and an SSL certificate (server.crt) must be created. Follow, for instance, the instructions given here (for a self-signed certificate): http://www.akadia.com/services/ssh_test_certificate.html -Run the server and client examples: `./https_examples` +Run the server and client examples: `./build/https_examples` Direct your favorite browser to for instance https://localhost:8080/