From eed4674fb017f01f6188bc87a36164063c5a4352 Mon Sep 17 00:00:00 2001 From: Viktor Lindgren Date: Wed, 18 Mar 2020 22:48:07 +0100 Subject: [PATCH] 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. * :pencil2: Tweaks Co-authored-by: Franck Nijhof --- docs/development_environment.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/development_environment.md b/docs/development_environment.md index 05b25bbf..d1c13fa2 100644 --- a/docs/development_environment.md +++ b/docs/development_environment.md @@ -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.