Licode by Lynckia is a large suite for handling video conferences. Peer instruction heavily uses its components called Erizo and Nuve.
I highly advise to not install Licode locally. Peer instruction comes with
Vagrantfile
that bootstraps Licode, builds it and basically makes
everything for you.
To use Vagrant, simply install it and inside Peer Instruction main directory run:
$ vagrant up
That's it. It'll take ~10 minutes to compile everything, but it's automatic.
However, if you really want to deal with all the issues of manual compilation, you should follow the official guide.
Please also read about Licode architecture to familiarize yourself with the terms used in this documentation.
First, set up your computer:
sudo aptitude install nodejs npm
Second, clone git repository of this project to the peer-instruction
directory:
git clone git@github.com:pbanaszkiewicz/peer-instruction.git ./peer-instruction
Third, install project dependencies:
cd peer-instruction/peerinstruction npm install
Warning
Work In Progress!
To run Peer Instruction you have to launch a few services first:
- erizoController
- nuve
You can do that by logging into Vagrant machine and invoking one script:
$ vagrant ssh vagrant@precise32:~$ cd /vagrant/licode/scripts/ vagrant@precise32:~$ ./initLicode.sh
Note
Default configuration differs a little bit from what peer instruction requires. Please use the configuration file I prepared: https://gist.github.com/pbanaszkiewicz/503492c3bab0fd6ebc49
Then you can finally run Peer Instruction:
$ ./peerinstruction/bin/www