Python Tchat
A simple texts communication platform using pygame and sockets.
How to install ?
You need a python 3.8.6 server with at least one opened port
- Download the source code from this repo.
Server
-
In your server, copy the
main.py
file from theserver
directory. -
Create a
.env
file and write which port you want to listen on as theenv.example
file. -
Install the required python packages
python -m pip install requirements.txt
-
run the server using the
bat
file, thesh
file or this command below:python -m python -m main.py
Client
-
On your local computer, open the
main.py
file from theclient
directory. -
Create a file
.env
and write the address and port of your server as the.env.example
file. -
Install the required python packages
python -m pip install requirements.txt
-
Run the client (
main.py
)