Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Merge pull request #82 from Azure/anhashia-patch-entry
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
aribeironovaes authored Dec 27, 2016
2 parents d174b02 + 3059c7e commit 0e44acc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions samples/nodejs_simple_sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ In order to run a gateway with a Node.js module do the following:
- Edit file under <\<your azure gateway repo>>\samples\nodejs_simple_sample\src\gateway_sample.json
- Copy the configuration values from the sample given below.
- On folder <\<your azure gateway repo>>\build\samples\nodejs_simple_sample\Debug run the following command:
- nodejs_simple_sample ..\..\..\..\samples\nodejs_simple_sample\src\gateway_sample.json
- nodejs_simple_sample ..\..\..\..\samples\nodejs_simple_sample\src\gateway_sample_win.json

```
{
Expand Down Expand Up @@ -118,7 +118,7 @@ On a terminal windows follow these steps:
- Edit file under ~/azure-iot-gateway-sdk/samples/nodejs_simple_sample/src/gateway_sample.json
- Copy the configuration values from the sample given below.
- On folder ~/azure-iot-gateway-sdk/build/samples/nodejs_simple_sample run the following command:
- ./nodejs_simple_sample ../../../samples/nodejs_simple_sample/src/gateway_sample.json
- ./nodejs_simple_sample ../../../samples/nodejs_simple_sample/src/gateway_sample_lin.json

Here is a sample of the gateway_sample.json file filled:
```
Expand All @@ -138,8 +138,10 @@ Here is a sample of the gateway_sample.json file filled:
"name": "node_printer",
"loader": {
"name": "node",
"entrypoint": {
"main.path": "../../../samples/nodejs_simple_sample/nodejs_modules/printer.js"
},
}
},
"args": null
},
{
Expand Down

0 comments on commit 0e44acc

Please sign in to comment.