CS300 Term Project
This application consists of a chat server and many chat clients (users). A client can send messages to other clients through the server, and at the same time, can receive messages from other clients through the server. The server accepts connections from the clients and delivers messages from one client to the other over Internet in real time.
-
Clone the repository to your local machine:
git clone https://github.com/pchung0/chatapp.git -
Navigate to the clone folder:
cd chatapp -
Install virtualenv:
python3 -m pip install --user virtualenv -
Create a virtual environment:
python3 -m venv venv -
Activate the virtual environment:
source venv/bin/activate -
Install the required python packages:
pip install -r requirements.txt -
Start the user service:
python run_user.py -
Start the chatroom service:
python run_chatroom.py -
Open the app by entering
localhost:5000in a broswer address bar
