Site updated at 2017-05-20 22:59:15 UTC
This commit is contained in:
parent
024eeb853f
commit
ebffa845cd
709 changed files with 10815 additions and 1472 deletions
|
@ -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 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.</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 <remote name> <github URL to your fork>
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>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</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 <remote name> 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue