Skip to content
🍭 Polymer frontend for Home Assistant
TypeScript JavaScript Other
Branch: dev
Clone or download
Pull request Compare This branch is 75 commits behind home-assistant:dev.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
.vscode
build-scripts
cast
demo
docs
gallery
hassio
public
script
src
test-mocha
test
translations
.dockerignore
.eslintrc-hound.json
.eslintrc.json
.gitattributes
.gitignore
.gitmodules
.hound.yml
.nvmrc
.travis.yml
CLA.md
CODE_OF_CONDUCT.md
Dockerfile
LICENSE.md
MANIFEST.in
README.md
azure-pipelines-release.yml
gulpfile.js
package.json
polymer.json
setup.py
tsconfig.json
tslint.json
wct.conf.json
webpack.config.js
yarn.lock

README.md

Home Assistant Polymer Build Status

This is the repository for the official Home Assistant frontend.

Screenshot of the frontend

Development

  • Initial setup: script/setup
  • Development: Instructions
  • Production build: script/build_frontend
  • Gallery: cd gallery && script/develop_gallery
  • Hass.io: Instructions

Frontend development

Classic environment

A complete guide can be found at the following link. It describes a short guide for the build of project.

Docker environment

It is possible to compile the project and/or run commands in the development environment having only the Docker pre-installed in the system. On the root of project you can do:

  • sh ./script/docker_run.sh build Build all the project with one command
  • sh ./script/docker_run.sh bash Open an interactive shell (the same environment generated by the classic environment) where you can run commands. This bash work on your project directory and any change on your file is automatically present within your build bash.

Note: if you have installed npm in addition to the docker, you can use the commands npm run docker_build and npm run bash to get a full build or bash as explained above

License

Home Assistant is open-source and Apache 2 licensed. Feel free to browse the repository, learn and reuse parts in your own projects.

You can’t perform that action at this time.