summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-10-16 12:28:25 +0200
committerBotond Hende <nettingman@gmail.com>2024-10-16 12:28:25 +0200
commit3ff7eb63a909368c7de739edfeed7c950d04385c (patch)
tree16394e71b9a8271cc29667f0e2e7ce32fb863f86
parent4ffeaabdfc0f6b0faa73f683cf163d40596fb170 (diff)
setup.sh added
-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