diff --git a/atom.xml b/atom.xml index 927a426355..5dbce56375 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
Home Assistant uses Polymer for the UI and NuclearJS for maintaining the app state.
- -Home Assistant is built on top of the Polymer webcomponents framework. Polymer allows building encapsulated custom HTML elements. Home-Assistant-Polymer source code on GitHub.
Do not use development mode in production. Home Assistant uses aggressive caching to improve the mobile experience. This is disabled during development so that you do not have to restart the server in between changes. @@ -112,31 +105,34 @@ Do not use development mode in production. Home Assistant uses aggressive cachin -
Node.js is required to setup the frontend development environment. The preferred method of installing node.js is nvm. Install nvm using the instructions in the README, and install node.js by running the following command:
+Node.js is required to setup the frontend development environment. The preferred method of installing node.js is nvm. Install nvm using the instructions in the README, and install the correct node.js by running the following command from the home-assistant-polymer
directory:
$ nvm install node
+$ cd homeassistant/components/frontend/www_static/home-assistant-polymer
+$ nvm install < .nvmrc
-Next step is to get the frontend code. When you clone the Home Assistant repository, the frontend repository is not cloned by default. You can setup the frontend development environment by running:
-$ script/setup
+Yarn is used as the package manager for node modules. Install yarn using the instructions here.
+
+Next step is to get the frontend code. When you clone the Home Assistant repository, the frontend repository is not cloned by default. You can setup the frontend development environment by running from the home-assistant
directory:
+
+$ script/bootstrap_frontend
Development
-While you are developing, you need to have Rollup running to have your JavaScript changes be made available.
+While you are developing, you need to have Rollup running to have changes you make to the JavaScript app-core made available.
$ cd homeassistant/components/frontend/www_static/home-assistant-polymer
$ npm run js_dev
-The source code for the frontend can be found in three different directories:
+The source code for the frontend can be found in two different directories:
- UI:
homeassistant/components/frontend/www_static/home-assistant-polymer/src/
- - Core:
homeassistant/components/frontend/www_static/home-assistant-polymer/home-assistant-js/src/
- Panels:
homeassistant/components/frontend/www_static/home-assistant-polymer/panels/
diff --git a/sitemap.xml b/sitemap.xml
index 69b8197c90..098f086ce6 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -2954,62 +2954,62 @@
https://home-assistant.io/demo/frontend.html
-2017-03-03T16:57:02+00:00
+2017-03-03T17:36:03+00:00
https://home-assistant.io/demo/index.html
-2017-03-03T16:57:02+00:00
+2017-03-03T17:36:03+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-event.html
-2017-03-03T16:57:02+00:00
+2017-03-03T17:36:03+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-info.html
-2017-03-03T16:57:02+00:00
+2017-03-03T17:36:03+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-service.html
-2017-03-03T16:57:02+00:00
+2017-03-03T17:36:03+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-state.html
-2017-03-03T16:57:02+00:00
+2017-03-03T17:36:03+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-template.html
-2017-03-03T16:57:02+00:00
+2017-03-03T17:36:03+00:00
https://home-assistant.io/demo/panels/ha-panel-history.html
-2017-03-03T16:57:02+00:00
+2017-03-03T17:36:03+00:00
https://home-assistant.io/demo/panels/ha-panel-iframe.html
-2017-03-03T16:57:02+00:00
+2017-03-03T17:36:03+00:00
https://home-assistant.io/demo/panels/ha-panel-logbook.html
-2017-03-03T16:57:02+00:00
+2017-03-03T17:36:03+00:00
https://home-assistant.io/demo/panels/ha-panel-map.html
-2017-03-03T16:57:02+00:00
+2017-03-03T17:36:03+00:00
https://home-assistant.io/googlef4f3693c209fe788.html
-2017-03-03T16:57:02+00:00
+2017-03-03T17:36:03+00:00
https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html
-2017-03-03T16:57:03+00:00
+2017-03-03T17:36:03+00:00
https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html
-2017-03-03T16:57:03+00:00
+2017-03-03T17:36:03+00:00
https://home-assistant.io/static/mdi-demo.html
-2017-03-03T16:57:03+00:00
+2017-03-03T17:36:03+00:00