aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-04-23 16:43:19 -0400
committerGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-04-23 16:43:19 -0400
commit36e751736c1ee0b661842e8f4736dd5f36179d76 (patch)
treebccd257a671026f6235aeb43dcff19ff257112b2
parentb3440f5b452fd4654c1b765cc9aa3de6ab783df4 (diff)
parent58584a35dbda716a58fe258e982e1c6fcbe02a84 (diff)
Merge pull request #1356 from murgatroid99/node_grpc_custom_directory
Added information about custom gRPC install locations in README
-rw-r--r--src/node/README.md6
-rw-r--r--src/node/package.json2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/node/README.md b/src/node/README.md
index b1d2310ede..6e4934151e 100644
--- a/src/node/README.md
+++ b/src/node/README.md
@@ -14,6 +14,12 @@ This requires `node` to be installed. If you instead have the `nodejs` executabl
2. Follow the instructions in the `INSTALL` file in the root of that repository to install the C core library that this package depends on.
3. Run `npm install`.
+If you install the gRPC C core library in a custom location, then you need to set some environment variables to install this library. The command will look like this:
+
+```sh
+CXXFLAGS=-I<custom location>/include LDFLAGS=-L<custom location>/lib npm install [grpc]
+```
+
## Tests
To run the test suite, simply run `npm test` in the install location.
diff --git a/src/node/package.json b/src/node/package.json
index fc3ca1f103..6c0953a83f 100644
--- a/src/node/package.json
+++ b/src/node/package.json
@@ -1,6 +1,6 @@
{
"name": "grpc",
- "version": "0.6.1",
+ "version": "0.6.2",
"author": "Google Inc.",
"description": "gRPC Library for Node",
"homepage": "http://www.grpc.io/",