First pass for scripts to rule them all

This commit is contained in:
Paulus Schoutsen 2015-09-17 00:35:26 -07:00
parent 3947ed3c2b
commit 8c77418b6a
18 changed files with 52 additions and 44 deletions

16
script/dev_openzwave_docker Executable file
View 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