From: Stephen Seo Date: Fri, 6 Sep 2024 04:47:31 +0000 (+0900) Subject: update README.md X-Git-Tag: 1.0~68 X-Git-Url: https://git.seodisparate.com/stephenseo/search/main.js?a=commitdiff_plain;h=3c620d852a4f70abd26d700031f25000b6e29a70;p=c_simple_http update README.md --- diff --git a/README.md b/README.md index df844cf..e5ebf22 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,15 @@ Without this, the project will fail to build. # Build the project. make c_simple_http + # Alternatively, build with cmake. + cmake -S . -B buildDebug && make -C buildDebug + # Run it with the example config. + # Note that the example config was designed such that it must be referred + # to from its parent directory. ./c_simple_http --config=example_config/example.config + # If built with cmake: + ./buildDebug/c_simple_http --config=example_config/example.config # If port is not specified, the server picks a random port. # This program should print which TCP port it is listening on.