This is a server/client service programmed with socket in python for understanding bases of TCP/IP.
- Create a python virtual environment.
python3 -m venv <env_path>
- Activate the privious created virtual env.
source <env_path>/bin/activate
- Clone this repo and go to its directory:
git clone <repo_url>
cd <repo_root_dir>
- Add the project to your virtual env python path and install requirements.
pip3 install -e . #Do not dismiss the dot (.)
-
Go to the server directory and run it.
Note: if buckets_root_dir is not given, the default directory is buckets.
cd server
python3 server.py [buckets_root_dir]
-
From another terminal, go to the client directory and run it.
Note: Make sure to have the python virtual env activated.
cd client
python3 client.py
- Santiago Gil Zapata sgilz@eafit.edu.co