Skip to content

Commit

Permalink
Merge pull request reactjs#85 from robatron/pr/readme-enhancements
Browse files Browse the repository at this point in the history
Add port-change info
  • Loading branch information
zpao committed Oct 9, 2015
2 parents 4b3b2a0 + 8f4f0db commit 66ccecd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,11 @@ algernon server.lua
```

And visit <http://localhost:3000/>. Try opening multiple tabs!

## Changing the port

You can change the port number by setting the `$PORT` environment variable before invoking any of the scripts above, e.g.,

```sh
PORT=3001 node server.js
```

0 comments on commit 66ccecd

Please sign in to comment.