From 2580049b48c8e7cb0b3de0040385767ccf1b13fb Mon Sep 17 00:00:00 2001 From: proddy Date: Sat, 12 Sep 2020 16:56:09 +0200 Subject: [PATCH] explain how to build and test web and core standalone --- doc/coding.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/coding.md b/doc/coding.md index 891b99ab3..36922973d 100644 --- a/doc/coding.md +++ b/doc/coding.md @@ -67,5 +67,15 @@ The Web is based off Rick's awesome [esp8266-react](https://github.com/rjwats/es * `factory_settings.ini` modified with `ems-esp-neo` as password and `ems-esp` everywhere else +## To develop and test the Web UI +- uncomment the `-D ENABLE_CORS` in `platformio.ini` +```sh +cd interface +npm start +``` +## To test the core, standalone with an ESP +```sh +make run +```