- nodejs
- grunt
download from nodejs
#linux
$ npm install -g grunt-cli
#mac用户
$ sudo npm install -g grunt-cli
#linux
$ npm install -g slark
#mac用户
$ sudo npm install -g slark
$ slark init your_project_path_here_or_there
$ cd your_project_path_here_or_there
$ npm install
$ edit Gruntfile.js #更新Gruntfile里面的配置
$ grunt server
$ grunt
$ npm update slark
$ slark update path_for_project
/src # slark源代码所在位置
/lib # slark 引用lib 所在位置
/entry # 业务代码所在地,project1 是一个示例代码
/dist # grunt 运行后的js和css的build目的地