* Allow bower install of frontend components as root. Needed for frontend development in docker since everything runs as root in the docker image. * Improve development workflow in docker * Use LANG=C.UTF-8 in tox. Fixes installation of libraries with UTF-8 in it's readme. * Install mysqlclient psycopg2 uvloop after requirements_all.txt again, but with a --no-cache-dir this time. Allows bootstrap_frontend to be executed in a different path like the other scripts.
16 lines
359 B
Bash
Executable file
16 lines
359 B
Bash
Executable file
#!/bin/sh
|
|
# 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
|