Go to file
Bram Kragten 407f305d21
Fix for earlier loading the frontend (#6094)
2020-06-03 18:16:49 +02:00
.github Update release-drafter.yaml 2020-05-22 16:36:00 +02:00
.vscode Update typescript, prettier, tslint -> eslint (#5536) 2020-04-14 09:05:45 -07:00
build-scripts Fix hassio dev under rollup (#6063) 2020-05-27 14:18:38 -07:00
cast Fix refresh when starting with generated on cast (#6072) 2020-06-02 22:25:11 +02:00
demo Preload (#6062) 2020-05-27 12:54:52 -07:00
docs Saved 180 KB out of 865 KB. 23.9% per file on average (up to 85.6%) (#717) 2017-12-05 22:56:14 -08:00
gallery Move legacy styles to their own files (#6033) 2020-05-25 10:16:01 +02:00
hassio Move legacy styles to their own files (#6033) 2020-05-25 10:16:01 +02:00
public Weather Card/Row: Weather Icons as SVG, Themeable, user definable (#5736) 2020-05-11 23:58:17 +02:00
script Exclude esprima and drop js-yaml from lovelace chunk (#5649) 2020-04-30 20:39:36 +02:00
src Fix for earlier loading the frontend (#6094) 2020-06-03 18:16:49 +02:00
test-mocha Fix cast translations (#5582) 2020-04-21 15:02:00 -07:00
translations [ci skip] Translation update 2020-06-03 00:32:35 +00:00
.dockerignore More cleanup (#1185) 2018-05-17 17:51:07 -04:00
.eslintrc.json Minor cleanup (#5787) 2020-05-07 12:38:26 +02:00
.gitattributes Add image to demo media player (#5086) 2020-03-06 13:44:59 +01:00
.gitignore Some fixes for icons (#5758) 2020-05-06 14:18:10 -07:00
.gitmodules Initial getting rid of HA-JS (#180) 2017-01-29 18:34:45 -08:00
.hound.yml Prevent hound from running eslint on html files (#638) 2017-11-17 09:05:13 -08:00
.nvmrc Use Node 12 (#3141) 2019-04-30 12:16:41 -07:00
.prettierignore Some fixes for icons (#5758) 2020-05-06 14:18:10 -07:00
CLA.md Update LICENSE.md and CLA.md to reflect the new Apache 2.0 license 2017-01-28 12:12:30 -08:00
CODE_OF_CONDUCT.md Update Code of Conduct to 2.0 (#6048) 2020-05-25 16:35:57 -07:00
Dockerfile fix dockerfile for new setups (#1740) 2018-10-05 21:23:31 +02:00
LICENSE.md Update LICENSE.md and CLA.md to reflect the new Apache 2.0 license 2017-01-28 12:12:30 -08:00
MANIFEST.in Support serving ES6 JS to clients (#596) 2017-11-10 09:05:37 -08:00
README.md Update invalid links in README.md (#5926) 2020-05-19 09:54:39 +02:00
azure-pipelines-netlify.yml Update azure-pipelines-netlify.yml for Azure Pipelines 2020-04-03 18:52:44 +02:00
azure-pipelines-release.yml Update azure-pipelines-release.yml for Azure Pipelines 2020-04-04 13:03:14 +02:00
azure-pipelines-translation.yml Update azure-pipelines-translation.yml for Azure Pipelines 2020-03-06 14:38:19 +01:00
gulpfile.js Gulpify build pipeline (#3145) 2019-05-02 11:35:46 -07:00
package.json Handle starting the frontend before finished loading integrations (#6068) 2020-05-28 21:09:26 -07:00
polymer.json Remove states-ui and allow setting (local) default lovelace panel (#5043) 2020-03-03 16:27:35 +01:00
rollup.config.js Rollup (#5995) 2020-05-22 23:05:47 -07:00
setup.py Bumped version to 20200603.0 2020-06-03 10:20:37 +02:00
tsconfig.json Remove unused deps (#5916) 2020-05-18 23:09:59 +02:00
webpack.config.js Fix translations in production builds (#5192) 2020-03-13 10:19:32 -07:00
yarn.lock Handle starting the frontend before finished loading integrations (#6068) 2020-05-28 21:09:26 -07:00

README.md

Home Assistant Frontend

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.

We use BrowserStack to test Home Assistant on a large variation of devices.