The C++ IDE juCi++ should be installed.
sudo apt-get install libboost-thread-dev libboost-regex-dev libboost-date-time-dev
sudo pacman -S boost
brew install boost
git clone https://github.com/ntnu-tdat3020/web-server-example
juci web-server-example
Choose Compile and Run in the Project menu.
Open http://localhost:8080
in a web browser
In a terminal:
telnet localhost 8080
GET / HTTP/1.1
# Press enter twice here
First, stop the web server (if it is running) by choosing Kill Last Process in the juCi++ Project menu.
In a terminal:
cd build
mkdir debug
cd debug
cmake -DCMAKE_BUILD_TYPE=Debug ../..
make
gdb ./web_server # In OS X, instead use: lldb ./web_server
run
bt