From fb1e4243ae464ef99e9a34388aac80ab745e2a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomas=20Hellstr=C3=B6m?= Date: Sat, 29 Jan 2022 10:14:19 +0100 Subject: [PATCH 1/2] fix devdocs --- DEV.md | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/DEV.md b/DEV.md index 5c5b9d8e1..e5d9095de 100644 --- a/DEV.md +++ b/DEV.md @@ -1,22 +1,4 @@ # Developing NetDaemon -These instructions are for developing NetDaemon. For apps please use [the docs](https://netdaemon.xyz). -For your convenience we provided with a docker setup with Home Assistant you can run on your development machine. -`tests/Docker/HA` you will find the docker-compose file. Run it outside the devcontainer. Remarkts that you should use port 8124 connecting to this instance of Home Assistant. - -## Use appsettings.Development.json -Copy the "_appsettings.Development.json under `src/Service` - -## Setup the environment vars -Alternative to using appsettings for development is to use environment varables for your Home Assistant instance - -| Environment variable | Description | -| ------ | ------ | -| HOMEASSISTANT__TOKEN | Token secret to access the HA instance | -| HOMEASSISTANT__HOST | The ip or hostname of HA | -| HOMEASSISTANT__PORT | The port of home assistant (defaults to 8123 if not specified) | -| NETDAEMON__GENERATEENTITIES | Generate entities, recommed set false unless debugging | -| NETDAEMON__APPSOURCE | The folder/project/dll where it will find daemon. Set this to empty `""` to debug apps local. If needed to debug the dynamic source compilation, set to `/workspaces/netdaemon/Service/apps` | - -Use `src/Development/apps` as starting point to debug your stuff! +Thank you for considering contributing to NetDaemon. You will find a good startingpoint in the [documentation for developers](https://netdaemon.xyz/docs/developer) Good luck From 0322b3a3d0f9865decf9afc910486aaacd8979ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomas=20Hellstr=C3=B6m?= Date: Sat, 29 Jan 2022 10:19:26 +0100 Subject: [PATCH 2/2] Update DEV.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Joakim Sørensen --- DEV.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DEV.md b/DEV.md index e5d9095de..e56db1cac 100644 --- a/DEV.md +++ b/DEV.md @@ -1,4 +1,5 @@ # Developing NetDaemon -Thank you for considering contributing to NetDaemon. You will find a good startingpoint in the [documentation for developers](https://netdaemon.xyz/docs/developer) + +Thank you for considering contributing to NetDaemon. You will find a good starting point in the [documentation for developers](https://netdaemon.xyz/docs/developer) Good luck