mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-21 20:07:27 +00:00
20 lines
456 B
Bash
Executable File
20 lines
456 B
Bash
Executable File
#!/bin/sh
|
|
# Resolve all frontend dependencies that the application requires to develop.
|
|
|
|
# Stop on errors
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
# 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
|
|
|
|
# Generate all needed files.
|
|
script/build_frontend
|
|
|
|
# Build files that need to be generated to run development mode
|
|
yarn dev
|