Added client/client.py Deleted reqs.txt Added requirements.txt Updated run_client.sh Updated run_server.sh
13 lines
206 B
Bash
Executable File
13 lines
206 B
Bash
Executable File
#! /bin/bash
|
|
|
|
if [ -d venv ]; then
|
|
source venv/bin/activate;
|
|
python client/client.py
|
|
else:
|
|
python3.10 -m venv venv
|
|
source venv/bin/activate
|
|
pip install -r requirements.txt
|
|
python client.py
|
|
fi
|
|
|