Published using Google Docs
dev2014 html5 app
Updated automatically every 5 minutes

Install Dev2014 影片

git clone  https://github.com/ksanaforge/dev2014 -b tutorial20140801

cd dev2014

sudo npm install -g jshint react-tools gulp component        //one time only

sudo npm install

sudo gulp setup -b tutorial20140801

sudo gulp install-nw  // install node webkit, needed for debugging node.js script

//omit “sudo” on  windows platform

Sample Application 影片

cd dev2014

git clone https://github.com/ksanaforge/dev2014-sample 

// optional -b tutorial20140801 to make sure your screen identical with the instruction movie

cd dev2014-sample

gulp

visit http://127.0.0.1:2556/dev2014-sample

Build kdb 影片cd yijing

node mkdb

Debugging node.js script

gulp qunit --js=file.js

Sandbox  filesystem 影片

Exploring the FileSystem APIs

turn on chrome devltools fileSystem tab

Offline Mode Deployment 影片

http://diveintohtml5.info/offline.html

visit

chrome://appcache-internals  and remove cache. if browser F5 didn’t update files.

offline.appcache

for Apache:

AddType text/cache-manifest .appcache

enable CORS for remote kdb download

Removing deep nested folder

go to deepest folder, rename to a shorter folder name, then delete