webduino-blockly
Version:
The Visual Programming Editor for Webduino
55 lines (37 loc) • 1.13 kB
Markdown
# Webduino-Blockly
The Visual Programming Editor for [Webduino](http://webduino.io).
Google's [Blockly](https://github.com/google/blockly) is a web-based, visual programming editor. Users can drag blocks together to build programs.
## Installation
First, make sure [bower](http://bower.io) has been installed.
```Shell
$ 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
```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:
```javascript
require('webduino-blockly');
```
Then paste-in the code generated by Blockly.
## License
Webduino-Blockly is released under the MIT License.
Please read [LICENSE](LICENSE) for more information.