grunt
http://www.cnphp6.com/archives/58631
npm init
592 npm install grunt --save-dev
593 npm install grunt-cli -g
594 ls
595 grunt --version
596 ls
597 npm install grunt-init -g
598 ls
599 git clone https://github.com/gruntjs/grunt-init-gruntfile.git ~/.grunt-init/gruntfile
600 grunt-init gruntfile
601 ls
602 npm install
603 ls
604 bower init
605 ls
615 ls
616 npm install grunt-bower-task --save-dev
617 ls
618 ls
619 mkdir -p public/js
620 ls
621 ls public/
622 bower install requirejs
623 ls
624 ls
625 grunt bower
626 ls
627 grunt bower
628 ls
629 python -m SimpleHTTPServer

浙公网安备 33010602011771号