From 7c73bc916e45e795e63667443edfaf8b40fbfd53 Mon Sep 17 00:00:00 2001 From: Sharon DiOrio Date: Mon, 9 Dec 2013 16:39:28 -0500 Subject: docs(tutorial/index): improve accessibility - Adds accessibility attributes to links and images. - Adds a note on using NVM for node. --- docs/content/tutorial/index.ngdoc | 63 ++++++++++++++++++++++----------------- 1 file changed, 36 insertions(+), 27 deletions(-) (limited to 'docs') diff --git a/docs/content/tutorial/index.ngdoc b/docs/content/tutorial/index.ngdoc index dfceb03b..67a1f501 100644 --- a/docs/content/tutorial/index.ngdoc +++ b/docs/content/tutorial/index.ngdoc @@ -9,7 +9,8 @@ the construction of an AngularJS web app. The app you will build is a catalog th of Android devices, lets you filter the list to see only devices that interest you, and then view details for any device. - +demo
+application running in the browser Work through the tutorial to see how Angular makes browsers smarter — without the use of extensions or plug-ins. As you work through the tutorial, you will: @@ -57,63 +58,71 @@ and follow the instructions for setting up your computer.
  1. You'll need Git, which you can get from - the Git site.

  2. + the Git site.

  3. Clone the angular-phonecat repository located at - Github by running the following command:

    + Github by + running the following command:

    git clone https://github.com/angular/angular-phonecat.git
    -

    This command creates the angular-phonecat directory in your current -directory.

  4. +

    This command creates the angular-phonecat directory in your current directory.

  5. Change your current directory to angular-phonecat:

    cd angular-phonecat
    -

    The tutorial instructions, from now on, assume you are running all commands from the angular-phonecat -directory.

  6. +

    The tutorial instructions, from now on, assume you are running all commands from the + angular-phonecat directory.

  7. You will also need Node.js and Karma to run unit tests, so please verify that you have - Node.js v0.10 or better installed + Node.js v0.10 or better installed and that the node executable is on your PATH by running the following command in a terminal window:

  8. node --version
    -

    Additionally install Karma and its plugins if you - don't have it already:

    +
    **Helpful note:** If you need to run a different version of + node.js in your local environment, consider installing + + Node Version Manager (nvm).
    +

    Additionally install Karma and + its plugins if you don't have it already:

           npm install
           
  9. You will need an http server running on your system. Mac and Linux machines typically -have Apache pre-installed, but If you don't already have one installed, you can use node -to run a simple bundled http server: node scripts/web-server.js.

  10. + have Apache pre-installed, but If you don't already have one installed, you can use node + to run scripts/web-server.js, a simple bundled http server.

  1. You will need Node.js and Karma to run unit tests, so please verify that you have - Node.js v0.10 or better installed + Node.js v0.10 or better installed and that the node executable is on your PATH by running the following command in a terminal window:

    node --version
    -

    Additionally install Karma if you - don't have it already:

    +
    **Helpful note:** If you need to run a different version of + node.js in your local environment, consider installing + + Node Version Manager (nvm).
    +

    Additionally install Karma + if you don't have it already:

    npm install -g karma
  2. You'll also need Git, which you can get from - the Git site.

  3. + the Git site.

  4. Clone the angular-phonecat repository located at Github by running the following command:

    -
    git clone https://github.com/angular/angular-phonecat.git
    + href="https://github.com/angular/angular-phonecat" "Github Angular-phonecat Repo">Github by running + the following command:

    git clone https://github.com/angular/angular-phonecat.git

    This command creates the angular-phonecat directory in your current directory.

  5. Change your current directory to angular-phonecat:

    cd angular-phonecat

    The tutorial instructions assume you are running all commands from the angular-phonecat -directory.

    + directory.

    You should run all git commands from Git bash.

    -

    Other commands like test.bat or e2e-test.bat should be -executed from the Windows command line.

  6. -
  7. You need an http server running on your system, but if you don't already have one -already installed, you can use node to run a simple -bundled http server: node scripts\web-server.js.

  8. +

    Other commands like test.bat or e2e-test.bat should be executed from the + Windows command line. +

  9. You need an http server running on your system, but if you don't already have one already + installed, you can use node to run scripts\web-server.js, a simple bundled + http server.

-The last thing to do is to make sure your computer has a web browser and a good text editor -installed. Now, let's get some cool stuff done! +The last thing to do is to make sure your computer has a web browser and a good text editor installed. Now, +let's get some cool stuff done! -{@link step_00 Get Started!} +Get Started! -- cgit v1.2.3