1
mirror of https://github.com/home-assistant/core synced 2024-07-27 18:58:57 +02:00
ha-core/script/dev_openzwave_docker
2015-09-17 00:35:26 -07:00

17 lines
350 B
Plaintext
Executable File

# 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