Based on C-Web-Server from Bloom Institute of Technology and rewritten in C++.
in project root firstly start and activate the Python virtual environment:
./setup_venv.sh
source .venv/bin/activate
then install the dependencies in the project root:
conan install . --output-folder=build --build=missing
cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=build/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Debug
cmake --build build
In folder build/ run make and then use
./server
to run the server and use
./tests
for the tests.
In folder chatroom/
Start and activate the Python virtual environment:
./setup_venv.sh
source .venv/bin/activate
Install dependencies for chat app:
in chatroom/build/ folder
conan install .. --build=missing
run cmake:
cmake .. -DCMAKE_TOOLCHAIN_FILE=build/Release/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release