-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# VS Code | ||
## this guide shall help creating a local dev environment with vscode | ||
|
||
* install VScode | ||
> $> yay -S code | ||
* create ~/projects folder | ||
> $> mkdir projects && cd projects | ||
* clone git repos | ||
> $> git clone [email protected]:rine77/homeassistantedupage.git | ||
> | ||
> $> git clone [email protected]:home-assistant/core.git | ||
* open VScode | ||
> $> cd homeassistantedupage | ||
> | ||
> $> code . | ||
* press SHIFT+CTRL+P | ||
* type "Python: Select Interpreter" and choose | ||
* "Create Virtual Environment..." | ||
* "Venv" | ||
* "Create" | ||
* choose at least Python 3.12.xxx | ||
* check args in $projects/homeassistantedupage/.vscode/launch.json it should match your local directory | ||
* open terminal in vscode and install python module homeassistant | ||
> $> source ~projects/homeassistantedupage/.venv/bin/activate | ||
> | ||
> $> pip install homeassistant | ||
* now start your debug instance with pressing F5 |