Merge pull request #93 from murgatroid99/node_readme_fix
Made some minor corrections to the Node README
This commit is contained in:
commit
6bfdd52084
|
|
@ -15,14 +15,14 @@ INSTALL
|
||||||
$ git clone https://github.com/grpc/grpc-common.git
|
$ 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.
|
- Follow the instructions in [INSTALL](https://github.com/grpc/grpc/blob/master/INSTALL) to install the gRPC C core.
|
||||||
- Install
|
- Install this package's dependencies
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ cd grpc-common/node
|
$ cd grpc-common/node
|
||||||
$ npm install
|
$ npm install
|
||||||
# If node is not found, you'll need to clone the grpc repository (if you haven't already)
|
# If grpc is not found, you'll need to install it from the grpc repository
|
||||||
$ git clone https://github.com/grpc/grpc.git
|
$ git clone https://github.com/grpc/grpc.git
|
||||||
$ npm install ~/grpc/src/node
|
$ npm install path/to/grpc/src/node
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -32,15 +32,15 @@ Try it!
|
||||||
- Run the server
|
- Run the server
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ # from this directory
|
$ # from this directory (grpc_common/node).
|
||||||
$ nodejs ./greeter_server.js &
|
$ node ./greeter_server.js &
|
||||||
```
|
```
|
||||||
|
|
||||||
- Run the client
|
- Run the client
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ # from this directory
|
$ # from this directory
|
||||||
$ nodejs ./greeter_client.js
|
$ node ./greeter_client.js
|
||||||
```
|
```
|
||||||
|
|
||||||
Note
|
Note
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue