@@ -77,7 +77,7 @@ Clone the [angular-phonecat repository][angular-phonecat] located at GitHub by r
77
77
command:
78
78
79
79
```
80
- git clone --depth=16 https://github.com/angular/angular-phonecat.git
80
+ git clone --depth=16 --branch=1.5-snapshot https://github.com/angular/angular-phonecat.git
81
81
```
82
82
83
83
This command creates an `angular-phonecat` sub-directory in your current directory.
@@ -87,6 +87,11 @@ This command creates an `angular-phonecat` sub-directory in your current directo
87
87
This makes the download much smaller and faster.
88
88
</div>
89
89
90
+ <div class="alert alert-info">
91
+ The `--branch=1.5-snapshot` option tells Git to pull down the `1.5-snapshot` branch.
92
+ The code for this older version of the tutorial is on that branch.
93
+ </div>
94
+
90
95
Change your current directory to `angular-phonecat`.
91
96
92
97
```
@@ -199,7 +204,7 @@ You can now browse to the application at http://localhost:8000/index.html.
199
204
200
205
<div class="alert alert-info">
201
206
To serve the web app on a different IP address or port, edit the "start" script within
202
- `package.json`. You can use `-a` to set the address and `-p` to set the port. You also need to
207
+ `package.json`. You can use `-a` to set the address and `-p` to set the port. You also need to
203
208
update the `baseUrl` configuration property in `e2e-test/protractor.conf.js`.
204
209
</div>
205
210
@@ -284,9 +289,9 @@ a new commit of changes to a remote repository.
284
289
<br />
285
290
**Firewall / Proxy issues**
286
291
287
- Git and other tools, often use the `git:` protocol for accessing files in remote repositories.
288
- Some firewall configurations are blocking `git://` URLs, which leads to errors when trying to clone
289
- repositories or download dependencies. (For example corporate firewalls are "notorious" for blocking
292
+ Git and other tools, often use the `git:` protocol for accessing files in remote repositories.
293
+ Some firewall configurations are blocking `git://` URLs, which leads to errors when trying to clone
294
+ repositories or download dependencies. (For example corporate firewalls are "notorious" for blocking
290
295
`git:`.)
291
296
292
297
If you run into this issue, you can force the use of `https:` instead, by running the following
@@ -304,17 +309,17 @@ In that case, you can delete the `node_modules/` directory and run `npm install`
304
309
<br />
305
310
**Protractor dependencies**
306
311
307
- Under the hood, Protractor uses the [Selenium Standalone Server][selenium], which in turn requires
308
- the [Java Development Kit (JDK)][jdk] to be installed on your local machine. Check this by running
312
+ Under the hood, Protractor uses the [Selenium Standalone Server][selenium], which in turn requires
313
+ the [Java Development Kit (JDK)][jdk] to be installed on your local machine. Check this by running
309
314
`java -version` from the command line.
310
315
311
316
If JDK is not already installed, you can download it [here][jdk-download].
312
317
313
318
<br />
314
319
**Error running the web server**
315
320
316
- The web server is configured to use port 8000. If the port is already in use (for example by another
317
- instance of a running web server) you will get an `EADDRINUSE` error. Make sure the port is
321
+ The web server is configured to use port 8000. If the port is already in use (for example by another
322
+ instance of a running web server) you will get an `EADDRINUSE` error. Make sure the port is
318
323
available, before running `npm start`.
319
324
320
325
<hr />
0 commit comments