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.pyfile from theserverdirectory. -
Create a
.envfile and write which port you want to listen on as theenv.examplefile. -
Install the required python packages
python -m pip install requirements.txt
-
run the server using the
batfile, theshfile or this command below:python -m python -m main.py
Client
-
On your local computer, open the
main.pyfile from theclientdirectory. -
Create a file
.envand write the address and port of your server as the.env.examplefile. -
Install the required python packages
python -m pip install requirements.txt
-
Run the client (
main.py)
