Skip to content

Commit de6ecd1

Browse files
PeWufabaff
authored andcommitted
Updated documentation about running local development instance. (home-assistant#4205)
* Updated documentation about running local development instance. * Make it venv only
1 parent cfeb8fa commit de6ecd1

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

source/developers/development_environment.markdown

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,21 +85,23 @@ $ git remote add upstream https://github.com/home-assistant/home-assistant.git
8585

8686
### {% linkable_title Setting up virtual environment %}
8787

88-
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.
88+
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.
8989

9090
```bash
91-
$ python3 -m venv venv
92-
$ source venv/bin/activate
91+
$ python3 -m venv .
92+
$ source bin/activate
9393
```
94-
95-
### {% linkable_title Setup and Run %}
94+
Install the requirements with a provided script named `setup`.
9695

9796
```bash
98-
$ cd home-assistant
9997
$ script/setup
10098
```
10199

102-
* Run `hass` to invoke your local installation.
100+
Invoke your installation.
101+
102+
```bash
103+
$ hass
104+
```
103105

104106
### {% linkable_title Logging %}
105107

0 commit comments

Comments
 (0)