##Discovery-Multi Hello World
This HelloWorld shows the discoveryForAgentContext and applicationContext librarys developed for the MediaScape project in action.
- Install git
- Install node.js and npm
- Install mongodb
- Start mongodb
Next to this file you will find a script called
This script will:
- clone the git and install everything in a folder called
deployrelative to the file itsself
- copy the server and Application Context API inluding Agent Context, Discovery For Agent Context API and Discovery API including this HelloWorld sample
- install all needed dependencies for the backend and start a small setup-script to configure it.
Please dont execute it inside the git folder. Best practice is to download just the the
.sh file and execute.
After everything is set up, and the node.js server is started, you can access the demo using the url (depending on your setup):
When the page is loaded, it should show you the detected components and capabilities of your current device. Starting another Browser with the same URL this data will be shared via the Agent Context between all sessions.
Any time later you can start the node.js server via: