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:
parent
88b4b95b02
commit
b841d1cfdb
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user