From f8e2b8877b9c899d21e32661afbab596f4415d05 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Apr 2017 10:30:23 +0200 Subject: [PATCH] Add more details --- source/_docs/installation/fedora.markdown | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/source/_docs/installation/fedora.markdown b/source/_docs/installation/fedora.markdown index fca60e4b9bb..574c661aa3c 100644 --- a/source/_docs/installation/fedora.markdown +++ b/source/_docs/installation/fedora.markdown @@ -23,3 +23,24 @@ and Home Assistant itself. $ pip3 install homeassistant ``` +To isolate the Home Assistant installation a [venv](https://docs.python.org/3/library/venv.html) is handy. First create a new directory to store the installation. + +```bash +$ sudo mkdir -p /opt/homeassistant +$ cd /opt/homeassistant +``` +Now switch to the new directory, setup the venv, and activate it. + +```bash +$ cd /opt/homeassistant +$ pyvenv-3.5 . +$ source bin/activate +``` + +Install Home Assistant itself. + +```bash +$ pip3 install homeassistant +``` + +Check the [autostart](/docs/autostart/systemd/) section in the documentation for further details.