From b841d1cfdbd76d2dc89ff0377d4fd39b05033bce Mon Sep 17 00:00:00 2001 From: mirai Date: Thu, 1 Dec 2022 10:14:14 +0300 Subject: [PATCH] Deleted client.py Added client/client.py Deleted reqs.txt Added requirements.txt Updated run_client.sh Updated run_server.sh --- client.py => client/client.py | 0 reqs.txt => requirements.txt | 0 run_client.sh | 4 ++-- run_server.sh | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename client.py => client/client.py (100%) rename reqs.txt => requirements.txt (100%) diff --git a/client.py b/client/client.py similarity index 100% rename from client.py rename to client/client.py diff --git a/reqs.txt b/requirements.txt similarity index 100% rename from reqs.txt rename to requirements.txt diff --git a/run_client.sh b/run_client.sh index edbfbf8..a368498 100755 --- a/run_client.sh +++ b/run_client.sh @@ -2,11 +2,11 @@ if [ -d venv ]; then source venv/bin/activate; - python client.py + python client/client.py else: python3.10 -m venv venv source venv/bin/activate - pip install -r reqs.txt + pip install -r requirements.txt python client.py fi diff --git a/run_server.sh b/run_server.sh index 17906a1..692f63e 100644 --- a/run_server.sh +++ b/run_server.sh @@ -8,6 +8,6 @@ if [ -d venv ]; then else python3.10 -m venv venv source venv/bin/activate - pip install -r reqs.txt + pip install -r requirements.txt sanic server.app -H 0.0.0.0 -p $port fi