# chat_room **Repository Path**: hysTOP/chat_room ## Basic Information - **Project Name**: chat_room - **Description**: 课程项目-网络聊天室,可实现跨公网多人聊天 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-07-20 - **Last Updated**: 2023-08-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 环境配置 ```sh pip install -r requirement.txt ``` 部分linux系统可能没有自带`tkinter`库,运行如下命令手动安装 ```sh sudo apt-get install python3-tk ``` ## 运行 ### 服务端 将服务端部署到一台客户端主机都能访问到的服务器上,在`server`目录下执行: ```python python3 server.py ``` ### 客户端 1. 将`chat.py`文件开头的`server_IP`修改为服务器的IP地址。 2. 在`client`文件夹下执行`python3 chat.py` ### 演示视频 [课程项目-在线聊天室分享_哔哩哔哩_bilibili](https://www.bilibili.com/video/BV1pN411e7Jf/)