All Projects → carlostse → nodejs-protobuf-socketio

carlostse / nodejs-protobuf-socketio

Licence: Apache-2.0 license
A demo project for client/server communication using Node.js, Socket.IO and Google Protocol Buffers

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects
Protocol Buffer
295 projects

Server Setup

Add the config below in ~/.ssh/config

Host server
  hostname ec2-xxx-xxx-xxx-xxx.ap-southeast-1.compute.amazonaws.com
  user ubuntu
  identityFile ~/.ssh/xxx.pem

Run server_install.sh to install the server program in AWS

$ ./server_install.sh

The installation script is designed for Ubuntu, tested with 14.04.2 LTS.

The script will download and install node.js v0.12.2 x64.

Also, it will install g++ and python to compile the Google Protocol Buffers 2.6.1 and its node.js binding.

Generate Protocol Buffers Classes

$ ./generate_protobuf.sh
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].