Deleted client.py

Added client/client.py
Deleted reqs.txt
Added requirements.txt
Updated run_client.sh
Updated run_server.sh
This commit is contained in:
mirai 2022-12-01 10:14:14 +03:00
parent 88b4b95b02
commit b841d1cfdb
4 changed files with 3 additions and 3 deletions

View File

@ -2,11 +2,11 @@
if [ -d venv ]; then if [ -d venv ]; then
source venv/bin/activate; source venv/bin/activate;
python client.py python client/client.py
else: else:
python3.10 -m venv venv python3.10 -m venv venv
source venv/bin/activate source venv/bin/activate
pip install -r reqs.txt pip install -r requirements.txt
python client.py python client.py
fi fi

View File

@ -8,6 +8,6 @@ if [ -d venv ]; then
else else
python3.10 -m venv venv python3.10 -m venv venv
source venv/bin/activate source venv/bin/activate
pip install -r reqs.txt pip install -r requirements.txt
sanic server.app -H 0.0.0.0 -p $port sanic server.app -H 0.0.0.0 -p $port
fi fi