summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--modules/__init__.py0
-rw-r--r--setup.sh13
3 files changed, 14 insertions, 0 deletions
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
--- /dev/null
+++ b/modules/__init__.py
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