The following must be installed:
- OpenSSL
- Python 3.7 or higher
Note: If
python
orpython3
is an alias for a different version, you should usepython3.7
.
- Clone the repository using this command
git clone https://github.com/HamishPatel/364_A2
- Use this command
cd .\364_A2\
- Use this command
openssl req -new -x509 -days 365 -nodes -out cert.pem -keyout cert.pem
Note:
a.You should already be in the 364_A2 directiory
b.If
python
orpython3
is an alias for a different version, you should usepython3.7
.
- In the 364_A2 directory run the following command
python chat_server.py --port=9988
- In another terminal but still in the 364_A2 dreictory run the following command
python chat_client.py --port=9988
- It will ask you to register and login, enter a username to register and log in
- For any further help, email me at : [email protected]