Added clarification about port configurability

Closes #100
This commit is contained in:
Ryan 2019-11-12 16:10:33 -08:00 committed by GitHub
parent 7591171a2b
commit be34690b3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -94,7 +94,9 @@ This calls out to our Redis cache to grab the latest value of the "order" key, w
1. Install dependencies: `npm install`. This will install `express` and `body-parser`, dependencies that are shown in our `package.json`.
2. Run Node.js app with Dapr: `dapr run --app-id mynode --app-port 3000 --port 3500 node app.js`. This should output text that looks like the following, along with logs:
2. Run Node.js app with Dapr: `dapr run --app-id mynode --app-port 3000 --port 3500 node app.js`. **Note**: the port the app runs on is configurable and can be determined by the developer. Our Node app happens to run on port 3000.
This command should output text that looks like the following, along with logs:
```
Starting Dapr with id mynode on port 3500