A client-server-client for controlling a youtube player from a mobile device.
- Nodejs
- Grunt-cli
- Bower
During development the client is run via grunt server and the server requests are proxied to the node server. This causes socket.io to work very slowly due to the XHR fallback.
- Clone the repo
- cd into the main directory
- npm install
- bower install
- node server.js
In a different console:
- cd into the main directory
- grunt server
- browse to http://localhost:9000
To deploy the client:
- cd into the main directory
- grunt build --force //the tests are failing since I didn't have time to implement them...
- browse to http://localhost:3000