Skip to content
Snippets Groups Projects
Commit 36e75173 authored by Tim Emiola's avatar Tim Emiola
Browse files

Merge pull request #1356 from murgatroid99/node_grpc_custom_directory

Added information about custom gRPC install locations in README
parents b3440f5b 58584a35
No related branches found
No related tags found
No related merge requests found
...@@ -14,6 +14,12 @@ This requires `node` to be installed. If you instead have the `nodejs` executabl ...@@ -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. 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`. 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 ## Tests
To run the test suite, simply run `npm test` in the install location. To run the test suite, simply run `npm test` in the install location.
......
{ {
"name": "grpc", "name": "grpc",
"version": "0.6.1", "version": "0.6.2",
"author": "Google Inc.", "author": "Google Inc.",
"description": "gRPC Library for Node", "description": "gRPC Library for Node",
"homepage": "http://www.grpc.io/", "homepage": "http://www.grpc.io/",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment