mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-16 22:06:29 +00:00
Updated the Fork instruction and shell command (#441)
* Updated the Fork instruction and shell command
Im not sure but i believe since the name change into core and the other homeassistant version the fork instruction is faulty. So i changed it and added a small little note, which might be a little overkill.
* ✏️ Tweaks
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
c91105f941
commit
eed4674fb0
@ -100,17 +100,19 @@ Running tasks like `Preview` can be restarted by opening the command pallet and
|
||||
|
||||
## Setup Local Repository
|
||||
|
||||
Visit the [Home Assistant repository](https://github.com/home-assistant/home-assistant) and click **Fork**.
|
||||
Visit the [Home Assistant Core repository](https://github.com/home-assistant/core) and click **Fork**.
|
||||
Once forked, setup your local copy of the source using the commands:
|
||||
|
||||
_Windows users should be sure to clone to a path that inside the WSL (ex: ~/)._
|
||||
|
||||
```shell
|
||||
$ git clone https://github.com/YOUR_GIT_USERNAME/home-assistant.git
|
||||
$ git clone https://github.com/YOUR_GIT_USERNAME/core.git
|
||||
$ cd home-assistant
|
||||
$ git remote add upstream https://github.com/home-assistant/home-assistant.git
|
||||
$ git remote add upstream https://github.com/home-assistant/core.git
|
||||
```
|
||||
|
||||
Note that `core.git` should be replaced by the name of your fork (default being `core.git`). If unsure check your GitHub repository.
|
||||
|
||||
## Setting up virtual environment
|
||||
|
||||
To isolate your environment from the rest of the system, set up a [`venv`](https://docs.python.org/3/library/venv.html). Within the `home-assistant` directory, create and activate your virtual environment.
|
||||
|
Loading…
x
Reference in New Issue
Block a user