From 3ff7eb63a909368c7de739edfeed7c950d04385c Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Wed, 16 Oct 2024 12:28:25 +0200 Subject: setup.sh added --- .gitignore | 1 + modules/__init__.py | 0 setup.sh | 13 +++++++++++++ 3 files changed, 14 insertions(+) create mode 100644 modules/__init__.py create mode 100644 setup.sh diff --git a/.gitignore b/.gitignore index ae945fa..8b145b8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .idea/ venv/ +modules/hassil diff --git a/modules/__init__.py b/modules/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..09a2c95 --- /dev/null +++ b/setup.sh @@ -0,0 +1,13 @@ +#!/usr/bin/bash -e + +ROOT_DIR="$(dirname "$0")" +cd "$ROOT_DIR" + +git submodule init +git submodule update + +ln -sf "$ROOT_DIR"/submodules/hassil/hassil modules/hassil + +python -m venv venv +source venv/bin/activate +python -m pip install -r requirements.txt \ No newline at end of file -- cgit v1.2.3-70-g09d2