Updated documentation about running local development instance. (#4205)

* Updated documentation about running local development instance.

* Make it venv only
This commit is contained in:
Przemek Więch 2017-12-16 19:04:04 +01:00 committed by Fabian Affolter
parent cfeb8fac3d
commit de6ecd1d11

View File

@ -85,21 +85,23 @@ $ git remote add upstream https://github.com/home-assistant/home-assistant.git
### {% linkable_title Setting up virtual environment %} ### {% linkable_title Setting up virtual environment %}
If you plan on providing isolation to your environment using [`venv`](https://docs.python.org/3.4/library/venv.html). Within the `home-assistant` directory, create and activate your virtual environment. To isolate your environment from the rest of the system, set up a [`venv`](https://docs.python.org/3.4/library/venv.html). Within the `home-assistant` directory, create and activate your virtual environment.
```bash ```bash
$ python3 -m venv venv $ python3 -m venv .
$ source venv/bin/activate $ source bin/activate
``` ```
Install the requirements with a provided script named `setup`.
### {% linkable_title Setup and Run %}
```bash ```bash
$ cd home-assistant
$ script/setup $ script/setup
``` ```
* Run `hass` to invoke your local installation. Invoke your installation.
```bash
$ hass
```
### {% linkable_title Logging %} ### {% linkable_title Logging %}