1
mirror of https://github.com/home-assistant/frontend synced 2024-09-28 00:43:28 +02:00
Go to file
Thomas Lovén 44eaa3abad A bit of cleanup in the card editor (#2984)
* edit-card shouldn't need to know about the path

* fix

* Store config as object at all times, convert when necessary

* Hidden is not a property of mwc-button. No need to hide anyway...
2019-03-26 15:31:43 -07:00
.github Update ISSUE_TEMPLATE.md (#2892) 2019-03-07 10:51:57 -08:00
.vscode Change recommend VSCode TSLint plugin to offical supported one (#2775) 2019-02-16 23:35:10 -08:00
config Exclude google fonts (#2975) 2019-03-19 14:03:16 -07:00
demo Fix router (#2943) 2019-03-15 23:15:16 -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 Swap out babel-minify for terser (#2885) 2019-03-05 13:10:35 -08:00
gulp Hash translation files (#2652) 2019-02-02 09:42:22 -08:00
hassio Fix blank tabs in Hass.io 2019-03-20 13:46:53 -07:00
public 🎨 Optmizes image assets (#2499) 2019-01-17 11:06:29 -08:00
script Update translations 2019-03-03 21:52:59 -08:00
src A bit of cleanup in the card editor (#2984) 2019-03-26 15:31:43 -07:00
test Localize ha-relative-time (#1241) 2018-06-01 09:55:00 -04:00
test-mocha Move views (#2610) 2019-01-30 09:55:44 -08:00
translations Add Icelandic :flag_is: support (#3003) 2019-03-23 11:08:00 -07:00
.dockerignore More cleanup (#1185) 2018-05-17 17:51:07 -04:00
.eslintrc-hound.json Update lint tools (#2576) 2019-01-26 19:34:07 -08:00
.eslintrc.json Update deps (#1678) 2018-09-19 15:15:16 +02:00
.gitattributes Update git attr 2019-01-23 11:06:24 -08:00
.gitignore Use demo icons instead of mdi (#2623) 2019-01-30 11:42:09 -08: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 Update Node version to latest LTS (#1080) 2018-04-11 21:01:25 -04:00
.travis.yml Build hassio panel (#1184) 2018-05-16 23:03:48 -04: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 Add organization docs 2017-01-22 16:21:16 -08:00
Dockerfile fix dockerfile for new setups (#1740) 2018-10-05 21:23:31 +02:00
gulpfile.js Migrate to Polymer 2 (#370) 2017-08-03 23:40:16 -07: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
package.json Upgrade mdi to 3.5.92 (#3007) 2019-03-26 14:59:37 -07:00
polymer.json Update deps (#1678) 2018-09-19 15:15:16 +02:00
README.md Review Docker management (#1113) 2018-09-10 11:58:18 +02:00
setup.py Bumped version to 20190321.0 2019-03-21 12:23:15 -07:00
tsconfig.json Add decorators (#2711) 2019-02-09 10:47:39 -08:00
tslint.json Update lint tools (#2576) 2019-01-26 19:34:07 -08:00
wct.conf.json Add an authorize page for authentication (#1147) 2018-05-10 14:25:36 -04:00
webpack.config.js Convert custom panel to typescript (#2991) 2019-03-23 11:41:36 -07:00
yarn.lock Upgrade mdi to 3.5.92 (#3007) 2019-03-26 14:59:37 -07:00

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.