Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 1.79 KB

README.md

File metadata and controls

33 lines (18 loc) · 1.79 KB

Speaker.

Presentations and media on your mobile device via WebRTC. Speaker lets your audience collectively vote on questions, then hands winners a virtual microphone to ask them. All in the browser, no extra hardware. It just works.

Purpose

Speaker was built on Angular.js, Node.js, Socket.io, and WebRTC. Here's how it works. The presenter has a computer plugged into the speakers. The audience members have laptops or smart phones. During the Q&A the presenter selects someone to talk and our signaling server establishes a handshake between the audience member and presenter. Once the handshake is complete a peer-to-peer WebRTC connection is established and the signaling server drops out of the equation. That's it! Either the presenter or audience member can choose to close the WebRTC connection at any time, at which point another peer must be selected for the process to begin again.

Installation

  • Clone the repository.
  • If you don't have Bower/Grunt command line tool installed, on the command line do: npm install -g yo grunt-cli bower
  • Then, npm install and bower install in root dir.
  • npm start starts server. You can then view the app at http://localhost:3000

Site on Digital Ocean

Forever keeps Node app running. Check with: $ forever list

Verify that Node is running: $ ps axl | grep node

Upstart deamonizes Nginx e.g. turns it into background process. Config file located at /etc/init/nginx.conf

Verify that Nginx daemon is running: $ initctl list | grep nginx

Verifies Nginx process is running: $ ps aux | grep nginx

Check which port Nginx is on: $ netstat -tulpn

To check Nginx status remotely, go to http://speak.re/nginx_status

Monit for monitoring: $ monit -d 60 -c /etc/monit/monitrc