Skip to content

Commit 8d01847

Browse files
committed
Create README.md
1 parent fae968d commit 8d01847

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Local_chat/README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Local Chat
2+
3+
This program allows you to create a channel in the local network for communication between users through the use of a secret key that is generated when a server is created at the host.
4+
5+
# Usage
6+
7+
1. Install the required libraries listed in `requirements.txt` file using `pip`:
8+
9+
```
10+
pip3 install -r requirements.txt
11+
```
12+
13+
2. Run `main.py` to create server.
14+
15+
```
16+
python3 main.py
17+
```
18+
after running the script print S parameter(to create server)
19+
!!! be sure to save the key that the program will give you !!!
20+
![](https://github.com/p4sh4bsc/Python-Projects/blob/local_chat/Local_chat/src/Server.gif)
21+
3. Also run `main.py`, but now we gonna connetct to the server as client.
22+
```
23+
python3 main.py
24+
```
25+
after running the script print C parameter(for connection to the server)
26+
![](https://github.com/p4sh4bsc/Python-Projects/blob/local_chat/Local_chat/src/Client.gif)
27+
4. Start chatting with your friends!

0 commit comments

Comments
 (0)