angularjs环境搭建

1、安装nodejs(移动网络或者vpn下安装)
 
2、安装Git 指令列工具(安装地址:http://git-scm.com/download/win)安装时选择 Run Git from the Windows Command Prompt 
 
3、安装Ruby执行环境(安装地址:http://www.ruby-lang.org/en/downloads/)注意 Ruby 的安装路径名中不能有空格
 
4、安装sass和compass (首先设置镜像地址为国内淘宝地址:
($ gem sources --remove https://rubygems.org/
$ gem sources -a http://ruby.taobao.org/)
4.1、gem install sass
4.2、gem install compass
 
5、安装yeoman (npm install -g yo)
5、1 安装yeoman相关的生成器 如angular项目生成器(npm install -g generator-angular)
 
6、安装bower (npm install -g bower)
 
7、安装grunt (npm install -g grunt-cli) 或安装gulp (npm install -g gulp-cli)
 
环境安装完毕。。。
 
posted @ 2016-04-17 22:08  徐航  阅读(187)  评论(0编辑  收藏  举报