Skip to content

Commit 66ccecd

Browse files
committed
Merge pull request reactjs#85 from robatron/pr/readme-enhancements
Add port-change info
2 parents 4b3b2a0 + 8f4f0db commit 66ccecd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,11 @@ algernon server.lua
5555
```
5656

5757
And visit <http://localhost:3000/>. Try opening multiple tabs!
58+
59+
## Changing the port
60+
61+
You can change the port number by setting the `$PORT` environment variable before invoking any of the scripts above, e.g.,
62+
63+
```sh
64+
PORT=3001 node server.js
65+
```

0 commit comments

Comments
 (0)