This repo uses gitmodules, so clone it recursive:
git clone --recursive https://github.com/GwinBest/OnlineChat.git
If you need to run the server, then download the MySql
First, clone a repository
git clone https://github.com/GwinBest/OnlineChat.git
Then, make a build folder
cd OnlineChat
mkdir build
cd build
Run cmake
cmake ..
To build all apps run
cmake --build .
Or, if you want to specify
cmake --build . --target (serverApp | clientApp)
First, set up the server, after that add your server credentials to environment variables
setx CHAT_DB_HOST "your_db_ip:your_db_port"
setx CHAT_DB_USER "your_db_user"
setx CHAT_DB_PASSWORD "your_db_password"
setx CHAT_DB_SCHEMA "your_db_schema"
After that, run the following code to create all necessary tables