From 5daf86581988fdc264ab890d41276ee4efd30433 Mon Sep 17 00:00:00 2001 From: DJE98 Date: Fri, 6 Oct 2023 06:53:26 +0200 Subject: [PATCH] Adde bat files for windows --- hackathon/scripts/install.bat | 5 +++++ hackathon/scripts/start_client.bat | 4 ++++ hackathon/scripts/start_server.bat | 4 ++++ 3 files changed, 13 insertions(+) create mode 100644 hackathon/scripts/install.bat create mode 100644 hackathon/scripts/start_client.bat create mode 100644 hackathon/scripts/start_server.bat diff --git a/hackathon/scripts/install.bat b/hackathon/scripts/install.bat new file mode 100644 index 0000000..35a0d79 --- /dev/null +++ b/hackathon/scripts/install.bat @@ -0,0 +1,5 @@ +@echo off + +python -m venv env +call env\Scripts\activate.bat +pip install -r requirements.txt diff --git a/hackathon/scripts/start_client.bat b/hackathon/scripts/start_client.bat new file mode 100644 index 0000000..1a03e1a --- /dev/null +++ b/hackathon/scripts/start_client.bat @@ -0,0 +1,4 @@ +@echo off + +call env\Scripts\activate.bat +python client.py diff --git a/hackathon/scripts/start_server.bat b/hackathon/scripts/start_server.bat new file mode 100644 index 0000000..4624f2b --- /dev/null +++ b/hackathon/scripts/start_server.bat @@ -0,0 +1,4 @@ +@echo off + +call env\Scripts\activate.bat +python server.py \ No newline at end of file