21 lines
476 B
Bash
Executable File
21 lines
476 B
Bash
Executable File
#!/bin/sh
|
|
# Resolve all frontend dependencies that the application requires to develop.
|
|
|
|
# Stop on errors
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
echo "Bootstrapping frontend..."
|
|
|
|
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 ../../../../..
|