aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-08-10 20:12:17 +0200
committerlonkaars <loek@pipeframe.xyz>2021-08-10 20:12:17 +0200
commitefe195d6592d5c6cc64de71fc65f85522bc45dfa (patch)
tree513d0e6afda36198c78a6725dd824fef56cdd34b /install.sh
parentb8c9fc19e6e35679a1b9125396448987d7a6e8d0 (diff)
homebridge to homeassistant baby steps
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/install.sh b/install.sh
index a7923bc..55650be 100644
--- a/install.sh
+++ b/install.sh
@@ -1,7 +1,4 @@
#!/bin/sh
-
-npm run build
-
rm -rf venv
-npm run python
-sudo npm run perms
+python3 -m venv venv && venv/bin/pip3 install -r requirements.txt
+sudo setcap 'cap_net_raw,cap_net_admin+eip' venv/lib/python3.9/site-packages/bluepy/bluepy-helper