Skip to content

Commit 8f4f0db

Browse files
committed
Add 'changining the port' section to the README
1 parent a52792b commit 8f4f0db

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)