BasicExample / Demos + Docker

Hi,

I just getting started with Licode and I’m having trouble understanding how to get started with the demos.
I’ve started the Docker image doing

MIN_PORT=30000; MAX_PORT=30050; sudo docker run --name licode -p  3000:3000 -p $MIN_PORT-$MAX_PORT:$MIN_PORT-$MAX_PORT/udp -p 3001:3001  -p 8080:8080 --network="host" lynckia/licode

All goes well it seems, the last lines read:

Cleaning basic example rooms
BasicExample started

What now? I can’t seem to find any documentation regarding this.
I’ve also cloned locally this repo https://github.com/lynckia/licode-demos, followed the instructions, changed in the config.js the following:

config.nuve_host = 'localhost';
config.demo_host = 'localhost';

then trying to start I get the following:

$ node app.js
module.js:327
    throw err;
    ^

Error: Cannot find module './nuve'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/Users/julien/devel/ctrl/play/licode-demos/models/roomModel.js:1:71)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)

Note that the docker image is running when i try this.

What am I doing wrong?
Is there a doc or tutorial somewhere to help me get started?

Thanks!

My approach with docker is:

  1. Be sure that your basicExample is working
  2. Change the basicExample file and copy it into the container (or even mount the basicExample folder)
  3. Restart the container (or only the example through exec kill…)

running an extra app outside the container can be done but you have to link containers because the nuve key is changing every container start.

PS: you have to enable ssl in your licode config if you are not behind a reverse proxy