Skip to content

Commit 78c71be

Browse files
committed
readmes
1 parent 8fe4a78 commit 78c71be

File tree

2 files changed

+40
-1249
lines changed

2 files changed

+40
-1249
lines changed

README.md

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,45 @@
1-
## How to build an Electron app using create-react-app. No webpack configuration or “ejecting” necessary.
1+
## Rapid Sensemaking Framework UI
22

3-
Code repo for post on [freeCodeCamp](https://medium.freecodecamp.com/building-an-electron-application-with-create-react-app-97945861647c#.ze6c9qin1).
3+
Design and run rapid sensemaking processes!
44

5-
https://medium.freecodecamp.com/building-an-electron-application-with-create-react-app-97945861647c#.ze6c9qin1
5+
Connects to a 'noflo runtime' in order to execute a configured flow-based programming graph.
66

7-
Thanks to [marbemac](https://github.com/marbemac) for submitting a pull request that captures logging output. It can be found in [logging-capture](https://github.com/csepulv/electron-with-create-react-app/tree/logging-capture)
7+
This repo can be extended to allow different noflo graphs representing various rsf type flows.
88

9-
Thanks to [vicentedealencar](https://github.com/vicentedealencar) for an example of using [electron-builder](https://github.com/electron-userland/electron-builder) for packaging. Details are [here](https://github.com/vicentedealencar/electron-with-create-react-app/commit/f1729381d588e65ac140ce5a08cc6277babd9641).
9+
These flows can be designed and run on https://app.flowhub.io. Download the graph JSON files, and put them in this repo in the `graphs` folder. Then, create a JSON template for it and put in the `templates` folder.
1010

11+
12+
Setup for connection with a participant register http server:
13+
14+
`.env` example:
15+
```
16+
REGISTER_HOST=127.0.0.1
17+
REGISTER_PORT=3002
18+
REGISTER_WS_PROTOCOL=ws
19+
REGISTER_HTTP_PROTOCOL=http
20+
```
21+
22+
Setup for connection with a rsf noflo server runtime:
23+
24+
`.env` example:
25+
```
26+
RUNTIME_ADDRESS=ws://127.0.0.1:3569
27+
RUNTIME_SECRET=1lkj3134jn
28+
```
29+
30+
31+
For development:
32+
33+
run `npm start`
34+
35+
To build for production:
36+
```
37+
npm run tsbuild-electron
38+
npm run tsbuild-react
39+
npm run build
40+
```
41+
42+
To test this build, run
43+
```
44+
npm run electron
45+
```

0 commit comments

Comments
 (0)