webduinoio/webduino-blockly

How to run the webduino-blockly

hznupeter opened this issue · 3 comments

I have clone the code.But after I open index.html ,the browser is all black. I dont know what's wrong with my operations.
And i dont understand the following instruction
Node.js
Require the module first by:

require('webduino-blockly');
Then paste-in the code generated by Blockly.

I really need your help.

osk2 commented

Hi @hznupeter

Are you trying to host Webduino Blockly yourself?
If so, make sure you have Node.js and Bower installed

Run one command once from below

npm install
bower install
npm run start

Now, open http://127.0.0.1:8080 in browser, you should see Webduino Blockly loaded.

yeah, Thank you, Done!
if add the instruction to the README.MD, it will help more people.

osk2 commented

Nice! We'll update README later.