项目中用Yeoman构建AngularJS

1.Install nodejs

2.Install Cygwin(if your cmd occur issue when execute node or npm command )

3.Install required moduels

    1.npm install –g yo

    2.npm install –g bower

    3.npm install –g grunt-cli

    4.npm install –g generator-angular-fullstack

    (https://www.npmjs.org/package/generator-angular-fullstack)

4.clone project from svn

5.  add files in .gitignore to your svn ignore list(important)

6.cd  “project folder”

7.npm install

8.bower install

9.grunt serve

相关推荐