Skip to content

Commit e53e2c2

Browse files
Renan Ivopetebacondarwin
authored andcommitted
docs(tutorial): add instructions to install karma plugins
1 parent 217feda commit e53e2c2

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

docs/content/tutorial/index.ngdoc

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,7 @@ and follow the instructions for setting up your computer.
5454
<div class="tabbable" show="true">
5555
<div class="tab-pane well" id="git-mac" title="Git on Mac/Linux">
5656
<ol>
57-
<li><p>You will need Node.js and Karma to run unit tests, so please verify that you have
58-
<a href="http://nodejs.org/">Node.js</a> v0.8 or better installed
59-
and that the <code>node</code> executable is on your <code>PATH</code> by running the following
60-
command in a terminal window:</p>
61-
<pre>node --version</pre>
62-
<p>Additionally install <a href="http://karma-runner.github.io/">Karma</a> if you
63-
don't have it already:</p>
64-
<pre>npm install -g karma</pre>
65-
<li><p>You'll also need Git, which you can get from
57+
<li><p>You'll need Git, which you can get from
6658
<a href="http://git-scm.com/download">the Git site</a>.</p></li>
6759
<li><p>Clone the angular-phonecat repository located at
6860
<a href="https://github.com/angular/angular-phonecat">Github</a> by running the following command:</p>
@@ -71,8 +63,19 @@ and follow the instructions for setting up your computer.
7163
directory.</p></li>
7264
<li><p>Change your current directory to <code>angular-phonecat</code>:</p>
7365
<pre>cd angular-phonecat</pre>
74-
<p>The tutorial instructions assume you are running all commands from the <code>angular-phonecat</code>
66+
<p>The tutorial instructions, from now on, assume you are running all commands from the <code>angular-phonecat</code>
7567
directory.</p></li>
68+
<li><p>You will also need Node.js and Karma to run unit tests, so please verify that you have
69+
<a href="http://nodejs.org/">Node.js</a> v0.8 or better installed
70+
and that the <code>node</code> executable is on your <code>PATH</code> by running the following
71+
command in a terminal window:</p></li>
72+
<pre>node --version</pre>
73+
<p>Additionally install <a href="http://karma-runner.github.io/">Karma</a> and its plugins if you
74+
don't have it already:</p>
75+
<pre>
76+
npm install -g karma
77+
npm install
78+
</pre></li>
7679
<li><p>You will need an http server running on your system. Mac and Linux machines typically
7780
have Apache pre-installed, but If you don't already have one installed, you can use <code>node</code>
7881
to run <code>scripts/web-server.js</code>, a simple bundled http server.</p></li>

0 commit comments

Comments
 (0)