From 0aa78628de979d01e931752483953c169bf65827 Mon Sep 17 00:00:00 2001 From: Xevion Date: Sun, 30 May 2021 13:13:24 -0500 Subject: [PATCH] Update README --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..5081774 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# tcp-chat + +A little experiment with python's `socket` module expanded with `sqlite3`, `threading`, +and `pyqt5` to create a simple server & client chat mimicking IRC. + +## Installation + +Create and activate a environment if needed, then install the project requirements: + +```bash +pip install -r requirements.txt +``` + +## Usage + +I like to use Windows Terminal to run both a server and client simultaneously inside one window. + +```bash +wt -d . -p "Command Prompt" ; sp -d . -p "Command Prompt" +``` + +Then in each pane, run the client: +```bash +python launch.py c +``` +and the server: +```bash +python launch.py s +``` + +## To-do List + +Expand to-do list