This is a cluster chat server project based on muduo network library written in C++ language.If you want run it on your computer, you have to configure the following environment:
- linux operation system
- cmake and g++ tools
- JSON for Modern C++
- boost and muduo network libraries
- mysql
- nginx
- redis
If you have finished environmental configuration, you can run "chmod +x autobuild.sh && ./autobuild.sh" or change dictionary into build folder and operate according to compile.md on your terminal. Then you can change dictionary into bin and run "ChatServer" executable programs through command "./ChatServer 127.0.0.1 6000" and "ChatClient" executable programs through command "./ChatClient 127.0.0.1 8000" to log in on your personal computer.
The functions of each folder are described as follows:
- bin: executable binary files
- build: the compiled intermediate files
- include: header files
- src: source files
- thirdparty: part of third party files that the project relies on