一个简单的消息传递程序和api
tuichat的Python项目详细描述
图伊卡特
一个简单的消息传递程序
目录
安装
用户手册
配置
其他信息
开始
These instructions will get you a copy of the project up and running on your local machine for development. See deployment for notes on how to deploy the project on a live system.
安装(1号)编译文件
Go to releases
Download archive with files and unzip it to any directory
安装(2号)PIP
Run this command in your shell:
pip install tuichat
从
Setup Git and type in git bash:
git clone https://github.com/Kukree/tuichat
Install Python 3 if not installed or compile program files with your program to compile (Pyinstaller, wheel, etc), the following lines are a program compilation guide
安装(4号)编译指南
Go to program directory
Run the following commands one at a time in your shell:
pip install pyinstaller pyinstaller --onedir --onefile server.py pyinstaller --onedir --onefile client.py
用户手册(主机或服务器支架)
配置
Enter settings into config.json file and save it
config.json
Enter settings into config.json file and save it
config.json
Note: If you have problems with configuring, look at configuration file description
Note 2: If you don't want to use config.json you can delete it and configure program at startup
运行
Run server.exe (on info table you will see information about your server, running port, limit of connections, external IP address, TUI graphics, logging and others)
Give your external IP address to clients and connection port, written in server info table
用户手册(客户端)
Run client.exe
Enter IP address of server and press ENTER
Enter connection port of server and press ENTER
Enjoy :)
配置文件说明
max_connections
-用于设置到服务器的连接限制的变量port
-端口要连接到您的服务器,用户将在客户端键入它enable_log
(true/false)-启用或禁用保存服务器上发生的消息/连接或断开连接/其他事件的日志enable_ui
(真/假)-启用或禁用特殊的用户界面符号,如:徽标、突出显示系统消息的行、许可证块周围的边框
贡献
To get started...
步骤1
选项1
- 放弃这次回购!
选项2
- 使用
https://github.com/Kukree/tuichat.git
- 使用
步骤2
- 滚开!???
步骤3
- 使用^{
} 创建新的拉取请求。
使用
构建- Python-编程语言
版本控制
我们使用SemVer进行版本控制有关可用的版本,请参见tags on this repository
作者
- evgeniy kuleshov-初始工作-Greenfield
另请参阅参与此项目的contributors列表。
许可证
此项目在gnu gplv3下获得许可-有关详细信息,请参见LICENSE文件