diff --git a/node/README.md b/node/README.md index c7a713c22e8..1ddef0e1e41 100644 --- a/node/README.md +++ b/node/README.md @@ -14,18 +14,22 @@ INSTALL ```sh $ git clone https://github.com/grpc/grpc-common.git ``` - - Follow the instructions in [INSTALL](https://github.com/grpc/grpc/blob/master/INSTALL) to install the gRPC C core. + + - Download the grpc debian packages from the [latest grpc release](https://github.com/grpc/grpc/releases) and install them. + - Later, it will possible to install them directly using `apt-get install` + ```sh + $ wget https://github.com/grpc/grpc/releases/download/release-0_5_0/libgrpc_0.5.0_amd64.deb + $ wget https://github.com/grpc/grpc/releases/download/release-0_5_0/libgrpc-dev_0.5.0_amd64.deb + $ sudo dpkg -i libgrpc_0.5.0_amd64.deb libgrpc-dev_0.5.0_amd64.deb + ``` + - Install this package's dependencies ```sh $ cd grpc-common/node $ npm install - # If grpc is not found, you'll need to install it from the grpc repository - $ git clone https://github.com/grpc/grpc.git - $ npm install path/to/grpc/src/node ``` - TRY IT! ------- diff --git a/node/package.json b/node/package.json index a669dec8f18..456d4fd82e1 100644 --- a/node/package.json +++ b/node/package.json @@ -1,9 +1,9 @@ { - "name": "grpc-greeter", - "version": "0.1.0", + "name": "grpc-demo", + "version": "0.5.0", "dependencies": { "async": "^0.9.0", - "grpc": "~0.2.0", + "grpc": "~0.5.0", "minimist": "^1.1.0", "underscore": "^1.8.2" } diff --git a/ruby/README.md b/ruby/README.md index 57b0f45e63b..66647fd6cfc 100644 --- a/ruby/README.md +++ b/ruby/README.md @@ -25,16 +25,20 @@ INSTALL ------- - Clone this repository. -- Follow the instructions in [INSTALL](https://github.com/grpc/grpc/blob/master/INSTALL) to install the gRPC C core. -- *Temporary* - - Install the full gRPC distribution from source on your local machine - - Build gRPC Ruby as described in [installing from source](https://github.com/grpc/grpc/blob/master/src/ruby/README.md#installing-from-source) - - update `path:` in [Gemfile](https://github.com/grpc/grpc-common/blob/master/ruby/Gemfile) to refer to src/ruby within the gRPC directory - - N.B: these steps are necessary until the gRPC ruby gem is published -- Use bundler to install + +- Download the grpc debian packages from the [latest grpc release](https://github.com/grpc/grpc/releases) and install them. + - Later, it will possible to install them directly using `apt-get install` +```sh +$ wget https://github.com/grpc/grpc/releases/download/release-0_5_0/libgrpc_0.5.0_amd64.deb +$ wget https://github.com/grpc/grpc/releases/download/release-0_5_0/libgrpc-dev_0.5.0_amd64.deb +$ sudo dpkg -i libgrpc_0.5.0_amd64.deb libgrpc-dev_0.5.0_amd64.deb +``` + +- Use bundler to install the example package's dependencies ```sh $ # from this directory -$ gem install bundler && bundle install +$ gem install bundler # if you don't already have bundler available +$ bundle install ``` Try it! diff --git a/ruby/grpc-demo.gemspec b/ruby/grpc-demo.gemspec index 8a8c4b35eec..0b3d78c8922 100644 --- a/ruby/grpc-demo.gemspec +++ b/ruby/grpc-demo.gemspec @@ -3,7 +3,7 @@ Gem::Specification.new do |s| s.name = 'grpc-demo' - s.version = '0.1.0' + s.version = '0.5.0' s.authors = ['gRPC Authors'] s.email = 'temiola@google.com' s.homepage = 'https://github.com/grpc/grpc-common' @@ -17,7 +17,7 @@ Gem::Specification.new do |s| s.require_paths = ['lib'] s.platform = Gem::Platform::RUBY - s.add_dependency 'grpc', '~> 0.0.1' + s.add_dependency 'grpc', '~> 0.5.0' s.add_development_dependency 'bundler', '~> 1.7' end