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:
+2
-2
@@ -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
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user