First pass for scripts to rule them all
This commit is contained in:
parent
3947ed3c2b
commit
8c77418b6a
18 changed files with 52 additions and 44 deletions
16
script/dev_openzwave_docker
Executable file
16
script/dev_openzwave_docker
Executable file
|
@ -0,0 +1,16 @@
|
|||
# Open a docker that can be used to debug/dev python-openzwave
|
||||
# Pass in a command line argument to build
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
if [ $# -gt 0 ]
|
||||
then
|
||||
docker build -t home-assistant-dev .
|
||||
fi
|
||||
|
||||
docker run \
|
||||
--device=/dev/ttyUSB0:/zwaveusbstick:rwm \
|
||||
-v `pwd`:/usr/src/app \
|
||||
-p 8123:8123 \
|
||||
-t -i home-assistant-dev \
|
||||
/bin/bash
|
Loading…
Add table
Add a link
Reference in a new issue