Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxleiko/kevoree-crossplatform-sample
Using Kevoree Java - Node.js - Browser in one KevScript
https://github.com/maxleiko/kevoree-crossplatform-sample
Last synced: 7 days ago
JSON representation
Using Kevoree Java - Node.js - Browser in one KevScript
- Host: GitHub
- URL: https://github.com/maxleiko/kevoree-crossplatform-sample
- Owner: maxleiko
- Created: 2015-03-30T09:40:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-03-30T12:25:18.000Z (over 9 years ago)
- Last Synced: 2024-04-21T06:17:37.601Z (7 months ago)
- Size: 113 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kevoree cross-platform sample
A simple KevScript that shows communications between a **Java** runtime, **Javascript** runtime and a **Browser** runtime
### Start the Java runtime
```sh
java \
-Dnode.bootstrap=/path/to/crossplatform.kevs \
-Dnode.name=javaNode \
-jar kevoree.jar
```### Start the Node.js runtime
```sh
kevoreejs -n jsNode --kevscript path/to/crossplatform.kevs
```### Start the Browser runtime
Go to http://runjs.kevoree.org/#/kevscript:
- Click **Upload a KevScript**
- Select the **crossplatform.kevs** file
- Enter **browserNode** as your start-up node name next to the **Start from KevScript** button
- Click **Start from KevScript** button### Manage my runtimes
You can now retrieve your running model in the [Kevoree Web Editor](http://editor.kevoree.org/?host=ws.kevoree.org&port=80&path=crossPlatform)> If you want to push modifications to your nodes you must use **Model** > **Custom push**
> and specify:
> - host: **ws.kevoree.org**
> - port: **80**
> - path: **crossPlatform**