mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-24 12:49:19 +00:00
Consolidate frontend (#468)
* Consolidate frontend * Remove no longer needed cd * Get Roboto from bower_components * Remove external dependency from update_mdi.py * Copy leaflet assets on build time * Tweak Dockerfile * Create Python package * Set zip_safe to False * Update build scripts * Version bump to 20171021.0 * Fix service worker * Version bump to 20171021.2 * Update docker ignore * Tweak Dockerfile thanks to Adam
This commit is contained in:
16
script/bootstrap
Executable file
16
script/bootstrap
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/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
|
||||
|
||||
# Build files that need to be generated to run development mode
|
||||
yarn dev
|
||||
Reference in New Issue
Block a user