From 7461bd46fb543fd9e591ef218e2a341da0095f6e Mon Sep 17 00:00:00 2001 From: mirai Date: Thu, 1 Dec 2022 09:59:44 +0300 Subject: [PATCH] Add client.sh script --- run_client.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 run_client.sh diff --git a/run_client.sh b/run_client.sh new file mode 100755 index 0000000..edbfbf8 --- /dev/null +++ b/run_client.sh @@ -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 +