From 6d2624f31f8dfb0772d25a2c4ec130ab048174c1 Mon Sep 17 00:00:00 2001 From: cribbstechnologies Date: Mon, 8 May 2017 04:40:58 -0400 Subject: [PATCH] update frontend development guide (#2591) * adding doc for tilt inversion * updating frontend development docs to be more noob friendly * updating frontend development docs to be more noob friendly * updating readability issues --- source/developers/frontend.markdown | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) mode change 100644 => 100755 source/developers/frontend.markdown diff --git a/source/developers/frontend.markdown b/source/developers/frontend.markdown old mode 100644 new mode 100755 index 8a8ee08c49c..a8310b06c96 --- a/source/developers/frontend.markdown +++ b/source/developers/frontend.markdown @@ -39,6 +39,24 @@ Next step is to get the frontend code. When you clone the Home Assistant reposit $ script/bootstrap_frontend ``` +This script will update the git submodule for the polymer project in + +`home-assistant/homeassistant/components/frontend/www_static/home-assistant-polymer`. + +If you're planning on issuing a PR back to the Home Assistant codebase you need to fork the polymer project and add your fork as a remote. + +```bash +$ cd homeassistant/components/frontend/www_static/home-assistant-polymer +$ git remote add +``` + +When you've made your changes and are ready to push them change to the working directory for the polymer project and then push your changes + +``` bash +$ cd homeassistant/components/frontend/www_static/home-assistant-polymer +$ git push -u HEAD +``` + ## {% linkable_title Development %} While you are developing, you need to have Rollup running to have changes you make to the JavaScript app-core made available.