Add more details

This commit is contained in:
Fabian Affolter 2017-04-07 10:30:23 +02:00
parent dc641be860
commit f8e2b8877b
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -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.