From c8d7b6b466c5c47beaaa11f9d044db4353ebec0e Mon Sep 17 00:00:00 2001 From: DJE98 Date: Sat, 30 Sep 2023 15:56:55 +0200 Subject: [PATCH] Added unix scripts for easier usage --- hackathon/scripts/install.sh | 3 +++ hackathon/scripts/start_client.sh | 2 ++ hackathon/scripts/start_server.sh | 2 ++ 3 files changed, 7 insertions(+) create mode 100644 hackathon/scripts/install.sh create mode 100644 hackathon/scripts/start_client.sh create mode 100644 hackathon/scripts/start_server.sh diff --git a/hackathon/scripts/install.sh b/hackathon/scripts/install.sh new file mode 100644 index 0000000..f365b73 --- /dev/null +++ b/hackathon/scripts/install.sh @@ -0,0 +1,3 @@ +python3 -m venv env +source env/bin/activate +pip install -r requirements.txt \ No newline at end of file diff --git a/hackathon/scripts/start_client.sh b/hackathon/scripts/start_client.sh new file mode 100644 index 0000000..7a73358 --- /dev/null +++ b/hackathon/scripts/start_client.sh @@ -0,0 +1,2 @@ +source env/bin/activate +python client.py \ No newline at end of file diff --git a/hackathon/scripts/start_server.sh b/hackathon/scripts/start_server.sh new file mode 100644 index 0000000..2ad462a --- /dev/null +++ b/hackathon/scripts/start_server.sh @@ -0,0 +1,2 @@ +source env/bin/activate +python server.py \ No newline at end of file