Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit ccc3255

Browse files
amfarrellpetebacondarwin
authored andcommitted
docs(tutorial): explain how to modify the port or ip served by npm start
A developer working on a remote server will want to change the IP address which npm start serves on. A developer working on a machine which is already using port 8000 will want to change the port. See angular/angular-phonecat#191
1 parent 583f37d commit ccc3255

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/content/tutorial/index.ngdoc

+5
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,11 @@ You can now browse to the application at:
195195
http://localhost:8000/app/index.html
196196
```
197197

198+
<div class="alert alert-info">
199+
To serve the web app on a different ip address or port, edit the "start" script within package.json.
200+
You can `-a` to set the address and `-p` to set the port.
201+
</div>
202+
198203
### Running Unit Tests
199204

200205
We use unit tests to ensure that the JavaScript code in our application is operating correctly.

0 commit comments

Comments
 (0)