The repository presents a simple Tweeter streaming app that is based on gRPC.
The app has been written in 3 popular languages: php, python and node.
The latest changes bring docker configuration. Instead of using vagrant you can use Docker that is recommended solution. More details can be found in README.md file.
To simplify the setup you can use Vagrant configuration that was prepared.
git clone https://github.com/partikus/grpc
cd grpc
vagrant up # if provisioning fail please run `vagrant provision`
# then if provisioning success
vagrant ssh
cd /home/app
./build.sh ${language} # supported languages: php, python, nodejs
** Windows users must have installed winnfsd vagrant plugin **
https://developers.google.com/protocol-buffers/docs/proto3 https://eli.thegreenplace.net/2011/08/02/length-prefix-framing-for-protocol-buffers https://codeclimate.com/blog/choose-protocol-buffers/
https://grpc.io/docs/tutorials/basic/python.html http://docs.python-guide.org/en/latest/writing/structure/
virtualenv venv
source venv/bin/activate.fish
python -m pip install --upgrade pip
python setup.py install
python -m pip install -r requirements
https://grpc.io/docs/quickstart/node.html https://grpc.io/docs/tutorials/basic/node.html http://pm2.keymetrics.io/ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Closures