webduino-blockly
v0.0.12
Published
The Visual Programming Editor for Webduino
Downloads
25
Readme
Webduino-Blockly
The Visual Programming Editor for Webduino.
Google's Blockly is a web-based, visual programming editor. Users can drag blocks together to build programs.
Installation
First, make sure bower has been installed.
$ git clone https://github.com/webduinoio/webduino-blockly.git
$ cd webduino-blockly
$ bower install
Now, webduino-blockly has been successfully installed. Open your browser point it to index.html.
Generated-Code Usage
Browser
<!DOCTYPE html>
<html>
<head>
<title>Webduino</title>
</head>
<body>
<script src="//webduino.io/components/webduino-js/dist/webduino-all.min.js"></script>
<script src="webduino-blockly.js"></script>
<script>
// Paste the code generated by Blockly here.
</script>
</body>
</html>
Node.js
Require the module first by:
require('webduino-blockly');
Then paste-in the code generated by Blockly.
License
Webduino-Blockly is released under the MIT License.
Please read LICENSE for more information.