Adding details on activating the venv (#5612)

* Adding details on activating the venv

We mention in a few places to activate the venv, or use the venv, but nowhere do we actually document how to do this.

* Update raspberry-pi.markdown
This commit is contained in:
DubhAd 2018-06-28 21:16:06 +01:00 committed by Franck Nijhof
parent b70454fbdd
commit 582b166233

View File

@ -107,3 +107,11 @@ $ pip3 install --upgrade homeassistant
```
Once the last command executes restart the Home Assistant service to apply the latest updates. Please keep in mind that some updates may take longer to boot up than others. If Home Assistant fails to start make sure you check the **Breaking Changes** from the [Release Notes](https://github.com/home-assistant/home-assistant/releases).
### {% linkable_title Activating the virtual environment %}
When instructions tell you to activate the virtual environment, the following commands will do this:
```bash
$ sudo -u homeassistant -H -s
$ source /srv/homeassistant/bin/activate```