update README.md
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 2s

This commit is contained in:
Stephen Seo 2024-09-06 13:47:31 +09:00
parent 21f3a3a103
commit 3c620d852a

View file

@ -21,8 +21,15 @@ Without this, the project will fail to build.
# Build the project. # Build the project.
make c_simple_http make c_simple_http
# Alternatively, build with cmake.
cmake -S . -B buildDebug && make -C buildDebug
# Run it with the example config. # 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 ./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. # If port is not specified, the server picks a random port.
# This program should print which TCP port it is listening on. # This program should print which TCP port it is listening on.