1.git clone https://github.com/Makeblock-official/mBlockly-for-nwjs
2.download nwjs from http://nwjs.io/ and copy nwjs runtime to the project folder
3.run nwjs
mbot protocol direction for developers: http://learn.makeblock.com/makeblock-orion-protocol/