mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Updated documentation about running local development instance. (#4205)
* Updated documentation about running local development instance. * Make it venv only
This commit is contained in:
parent
cfeb8fac3d
commit
de6ecd1d11
@ -85,21 +85,23 @@ $ git remote add upstream https://github.com/home-assistant/home-assistant.git
|
||||
|
||||
### {% 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
|
||||
$ python3 -m venv venv
|
||||
$ source venv/bin/activate
|
||||
$ python3 -m venv .
|
||||
$ source bin/activate
|
||||
```
|
||||
|
||||
### {% linkable_title Setup and Run %}
|
||||
Install the requirements with a provided script named `setup`.
|
||||
|
||||
```bash
|
||||
$ cd home-assistant
|
||||
$ script/setup
|
||||
```
|
||||
|
||||
* Run `hass` to invoke your local installation.
|
||||
Invoke your installation.
|
||||
|
||||
```bash
|
||||
$ hass
|
||||
```
|
||||
|
||||
### {% linkable_title Logging %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user