blockly-edu
v1.0.0
Published
<!-- @license Blockly Demos: Block Factory
Downloads
7
Readme
Blockly Developer Tools
This is the home of Google's Blockly Developer Tools.
Find out more at the develop page, on GitHub, or on the developer forum. Production version is stored here (source).
Want to contribute? Great! First, read our guidelines for contributors.
Setting Up
Install node and NW.js
In order to properly run and test Blockly's devtools, install node.js and NW.js on your computer. Instructions for installation can be found on the linked sites.
Install Devtools
In your devtools directory run
npm install
Run Devtools
Find the relative path to nwjs/nw
that you installed onto your computer.
Run the following command from the devtools repo's directory.
nwjs/nw .
Doing so will run devtools as an NW.js application on your computer.
Closure dependency error
If you get an error about "closure" upon loading the app, it probably means the
blockly-devtools/closure-library/
directory has not been set up.
Try running:
git submodule update --init --recursive
Alternatively, install the closure-library
into that directory. If you are working with the web library, you may prefer to share a local
copy via a symlink (i.e., ln -s path/to/closure-library
).
We are currently working on removing this dependency, but this will fix the issue until then.