This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new c8318c5b3 chore(docs): add information on how to develop the UI
locally (#1326)
c8318c5b3 is described below
commit c8318c5b3f4f948292fb076334ffb9898f0298ed
Author: Tim <[email protected]>
AuthorDate: Mon Feb 20 17:01:47 2023 +0100
chore(docs): add information on how to develop the UI locally (#1326)
---
ui/README.md | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/ui/README.md b/ui/README.md
index 812ce3eee..91c19f6eb 100644
--- a/ui/README.md
+++ b/ui/README.md
@@ -24,11 +24,20 @@ Please make sure you have a recent version of
[node](https://nodejs.org/en/) and
To build the ui, perform the following steps:
-```
+```bash
npm install
npm run build
```
+To test your local version of the UI execute the following commands:
+
+```bash
+ npm install
+ npm start
+```
+
+(be aware that this requires a StreamPipes instance that runs without the UI,
read more [here](https://cwiki.apache.org/confluence/display/STREAMPIPES/UI))
+
### Formatting and Linting
Running `npm install` will cause a pre-commit hook to be created.