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