Add client.sh script

This commit is contained in:
mirai 2022-12-01 09:59:44 +03:00
parent 56f1c0de0a
commit 7461bd46fb

12
run_client.sh Executable file
View File

@ -0,0 +1,12 @@
#! /bin/bash
if [ -d venv ]; then
source venv/bin/activate;
python client.py
else:
python3.10 -m venv venv
source venv/bin/activate
pip install -r reqs.txt
python client.py
fi