Site updated at 2017-12-19 11:13:53 UTC

This commit is contained in:
Travis CI 2017-12-19 11:13:54 +00:00
parent db60031418
commit 18882fc0bd
27 changed files with 102 additions and 73 deletions

View file

@ -77,30 +77,30 @@
<hr class="divider">
<p>If you already have Python 3.5 or later installed, you can easily give Home Assistant a spin.</p>
<p>Its recommended when installing Python packages that you use a virtual environment. This will make sure that your Python installation and Home Assistant installation wont impact one another.</p>
<p><em>(If youre on a Debian based system, you will need to install Python virtual environment support using <code class="highlighter-rouge">apt-get install python3-pip python3-venv</code>)</em></p>
<p><em>(If youre on a Debian based system, you will need to install Python virtual environment support using <code class="highlighter-rouge">apt-get install python3-pip python3-venv</code>.)</em></p>
<ol>
<li>Create a virtual environment:
<div class="highlighter-rouge"><pre class="highlight"><code>python3 -m venv homeassistant
<div class="highlighter-rouge"><pre class="highlight"><code>$ python3 -m venv homeassistant
</code></pre>
</div>
</li>
<li>Open virtual environment:
<div class="highlighter-rouge"><pre class="highlight"><code>cd homeassistant
<div class="highlighter-rouge"><pre class="highlight"><code>$ cd homeassistant
</code></pre>
</div>
</li>
<li>Activate virtual environment:
<div class="highlighter-rouge"><pre class="highlight"><code>source bin/activate
<div class="highlighter-rouge"><pre class="highlight"><code>$ source bin/activate
</code></pre>
</div>
</li>
<li>Install Home Assistant:
<div class="highlighter-rouge"><pre class="highlight"><code>python3 -m pip install --upgrade homeassistant
<div class="highlighter-rouge"><pre class="highlight"><code>$ python3 -m pip install --upgrade homeassistant
</code></pre>
</div>
</li>
<li>Run Home Assistant:
<div class="highlighter-rouge"><pre class="highlight"><code>hass --open-ui
<div class="highlighter-rouge"><pre class="highlight"><code>$ hass --open-ui
</code></pre>
</div>
</li>
@ -108,10 +108,10 @@
<h3><a class="title-link" name="notes" href="#notes"></a> Notes</h3>
<ul>
<li>In the future, if you want to start Home Assistant again, follow step 2, 3 and 5.</li>
<li>If you want to upgrade Home Assistant, follow step 2 and 3 and 4.</li>
<li>If you want to upgrade Home Assistant, follow step 2, 3 and 4.</li>
</ul>
<p class="info">
Looking for more advanced guides? Check our <a href="/docs/installation/">available guides</a>.
Looking for more advanced guides? Check our <a href="/docs/installation/raspberry-pi/">Rasbian guide</a> or the [available installation guides](/docs/installation/]. For details about autostarting, refer to the <a href="/docs/autostart/">autostart section</a> in the documentation.
</p>
</article>
</div>