core/script/bootstrap_frontend

21 lines
476 B
Plaintext
Raw Normal View History

#!/bin/sh
2017-05-12 07:01:06 +00:00
# Resolve all frontend dependencies that the application requires to develop.
# Stop on errors
set -e
cd "$(dirname "$0")/.."
echo "Bootstrapping frontend..."
2015-12-18 07:51:34 +00:00
git submodule update
cd homeassistant/components/frontend/www_static/home-assistant-polymer
# Install node modules
yarn install
# Install bower web components. Allow to download the components as root since the user in docker is root.
./node_modules/.bin/bower install --allow-root
cd ../../../../..