From 582b166233d3e8c3f87f20a5ef84422f0e3f9801 Mon Sep 17 00:00:00 2001 From: DubhAd Date: Thu, 28 Jun 2018 21:16:06 +0100 Subject: [PATCH] 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 --- source/_docs/installation/raspberry-pi.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/_docs/installation/raspberry-pi.markdown b/source/_docs/installation/raspberry-pi.markdown index 738a8e8fb55..d021e7041a0 100644 --- a/source/_docs/installation/raspberry-pi.markdown +++ b/source/_docs/installation/raspberry-pi.markdown @@ -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```