Adding details on activating the venv (#5611)

* 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 hassbian.markdown
This commit is contained in:
DubhAd 2018-06-28 21:16:46 +01:00 committed by Franck Nijhof
parent 582b166233
commit 174a2c9ac9

View File

@ -17,3 +17,10 @@ Hassbian is our customized operating system for the Raspberry Pi Zero, 2,3 and 3
- [Pi specific integrations](/docs/hassbian/common-tasks/)
- [Learn how to perform common tasks](/docs/hassbian/integrations/)
### {% linkable_title Activating the virtual environment %}
When instructions tell you to activate the virtual environment to install a Python library, or perform some tasks, the following commands will do this:
```bash
$ sudo -u homeassistant -H -s
$ source /srv/homeassistant/bin/activate```