gulp
#下载项目工程源码
$ git clone [email protected]:wangwenjia/mobile_b2b_cloud.git
#安装淘宝的cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
#安装淘宝的cnpm
$ alias cnpm="npm --registry=https://registry.npm.taobao.org \
--cache=$HOME/.npm/.cache/cnpm \
--disturl=https://npm.taobao.org/dist \
--userconfig=$HOME/.cnpmrc"
#更新npm
$ npm install npm -g
#安装python2.7 ,且在环境变量path中添加 python2 = C:\Python27
$ cnpm install gulp-sass --save-dev
#安装项目相关依赖包
npm install --save-dev
#安装bower组件
npm install -g bower
#安装bower相关包
bower install --save-dev
cnpm install jshint gulp-jshint --save-dev