<
865F
img src="https://camo.githubusercontent.com/b7acbac8f90de681948e9aedf04f9030eafa127726174ec40f8ca3ee38166ec0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f5369676d616e6966696369656e742f50795463686174" alt="GitHub code size in bytes" data-canonical-src="https://img.shields.io/github/languages/code-size/Sigmanificient/PyTchat" style="max-width: 100%;">
You need a python 3.8.6 server with at least one opened port
- Download the source code from this repo.
-
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
-
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
)