Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest serve for running in production #1760

Merged
merged 9 commits into from
Mar 8, 2017
Merged
Prev Previous commit
Next Next commit
Pretty newline added
  • Loading branch information
leo authored Mar 8, 2017
commit 9fc4c28222c33fbc5665d9e28dd2018a0d68ba75
4 changes: 3 additions & 1 deletion packages/react-scripts/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,9 @@ npm install -g serve
serve -s build
```

The last command shown above will serve your static site on the port **3000**. Like many of [serve](https://github.com/zeit/serve)'s internal settings, the port can be adjusted using the `-p` or `--port` flags. Run this command to get a full list of the options available:
The last command shown above will serve your static site on the port **3000**. Like many of [serve](https://github.com/zeit/serve)'s internal settings, the port can be adjusted using the `-p` or `--port` flags.

Run this command to get a full list of the options available:

```sh
serve -h
Expand Down