Instructions:
Start and connect:
Disconnect and stop:
sessionPatternand/orbundlePattern.serve(emuDBhandle, sessionPattern = ".*", bundlePattern = ".*",
host = "127.0.0.1", port = 17890,
autoOpenURL = "http://ips-lmu.github.io/EMU-webApp/?autoConnect=true",
debug = FALSE, debugLevel = 0)load_emuDB0.0.0.0. Please note that this might be an safety issue! The port parameter determines the port the server listens on. The host and port parameters are intended only for expert users. When started the R console will be blocked. On successfull connection the server sends the session and bundle list of the database referenced by name by parameter dbName or by UUID parameter dbUUID.
The Web application requests bundle data for viewing or editing. If a bundle is modified with the EMU-webApp and the save button is pressed the server modifies the internal database and saves the changes to disk.
Communication between server and EMU webApp is defined by EMU-webApp-websocket-protocol version 0.0.2.## Load EMU database 'myDb' and serve it to the EMU-webApp (opens default HTTP/websocket port 17890)
myDb = load_emuDB("/path/to/myDb")
serve(myDb)Run the code above in your browser using DataLab