Site updated at 2017-05-20 22:59:15 UTC

This commit is contained in:
Travis CI 2017-05-20 22:59:15 +00:00
parent 024eeb853f
commit ebffa845cd
709 changed files with 10815 additions and 1472 deletions

View file

@ -86,6 +86,18 @@ Do not use development mode in production. Home Assistant uses aggressive cachin
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>script/bootstrap_frontend
</code></pre>
</div>
<p>This script will update the git submodule for the polymer project in</p>
<p><code class="highlighter-rouge">home-assistant/homeassistant/components/frontend/www_static/home-assistant-polymer</code>.</p>
<p>If youre 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.</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span><span class="nb">cd </span>homeassistant/components/frontend/www_static/home-assistant-polymer
<span class="gp">$ </span>git remote add &lt;remote name&gt; &lt;github URL to your fork&gt;
</code></pre>
</div>
<p>When youve made your changes and are ready to push them change to the working directory for the polymer project and then push your changes</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span><span class="nb">cd </span>homeassistant/components/frontend/www_static/home-assistant-polymer
<span class="gp">$ </span>git push -u &lt;remote name&gt; HEAD
</code></pre>
</div>
<h2><a class="title-link" name="development" href="#development"></a> Development</h2>
<p>While you are developing, you need to have Rollup running to have changes you make to the JavaScript app-core made available.</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span><span class="nb">cd </span>homeassistant/components/frontend/www_static/home-assistant-polymer