使用yeoman开发node-webkit程序

2014/07/16

generator-node-webkit
bower api#install

sudo npm install -g yo bower grunt-cli gulp
sudo npm install -g generator-node-webkit

mkdir nwapp
cd nwapp

yo node-webkit

## Yeoman Steps
[?] What do you want to call your app? Allowed characters ^[a-zA-Z0-9]+$ Octoo
[?] A little description for your app? Markdown Note based on node-webkit
[?] Would you mind telling me your username on GitHub? mfkddcwy
[?] Do you want to download latest node-webkit? No
[?] Do you want to install one of the node-webkit examples? No

bower install & npm install

npm install grunt-contrib-qunit --save-dev

## unpack node-webkit binaries package to resources
## or link to the directory in linux

bower install jquery#1.11.1 -S
bower install font-awesome-bower -S

grunt dist-linux32 && dist/node-webkit dist/app.nw