angularjs--Environment Configuration

Source: Internet
Author: User
Tags blank page

1. node. js Download Installation

: http://nodejs.org/

After installation, the Nodejs installation path is generally written to the PATH environment variable. (If not, please configure manually)

Check if installation is successful (DOS command window): Node–version or Node-v

Installing the Testacular Unit Test program: NPM Install Karma

NPM Install-g Express

2. Git Download and install

: http://git-scm.com/

After installation, the Nodejs installation path is generally written to the PATH environment variable. (If not, please configure manually)

The following command copies the source code files for this tutorial project from GitHub (DOS command Window):

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

This command creates a new folder Angular-phonecat in your current folder.

3, the server's start command NPM start

4. Test Server startup command NPM test


5. Getting Started learning examples of getting git checkout-f step-0


6. Example of running CD to Angular-phonecat folder

Start: NPM start

Export Example Program:

Git checkout-f step-0

Example code production under folder Angular-phonecat/app

NPM start

Examples of running in a browser:

Http://localhost:8000/app/index.html

If a blank page appears, run

Http://localhost:8000/

angularjs--Environment Configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.