Draw someting in real time with legorange.
Implemented with :
Signalisation is stored on a namespace named legorange. It can be changed.
Ensure you have node greater than version 4 (Code contains es6 syntax)
-
Get repo with
git clone https://github.com/webcom-components/legorange -
Delete the existing git repository by running
rm -rf .git -
Run
npm installto install the dependencies
npm runTo only build legorange app in ./dist folder
legorange is on https://io.datasync.orange.com
npm run buildOptional env variables :
- NAMESPACE : namespace for signalisation. Default is legorange
- WS_SERVER : webcom server url. Default is https://io.datasync.orange.com
- PUBLIC_PATH : relative path of application. Default is /
To build and launch a web server on port 8080
npm run serveOptional env variables :
- NAMESPACE : namespace for signalisation. Default is legorange
- WS_SERVER : webcom server url. Default is https://io.datasync.orange.com
- PUBLIC_PATH : relative path of application. Default is /
To build and launch a dev web server on port 8080
npm startOptional env variables :
- NAMESPACE : namespace for signalisation. Default is legorange
- WS_SERVER : webcom server url. Default is https://io.datasync.orange.com
- PUBLIC_PATH : relative path of application. Default is /
Code released under the MIT license.