Files
blockly/readme.headless.md
2015-11-14 21:47:49 +08:00

639 B

Blockly Headless

Running Blockly headless is valuable to allow for server side code generation.

The NodeJS program app.headless.js loads Blockly XML from input.xml and outputs python code on stdout.

Prerequisites

Be sure to have these installed on your system:

Getting Started

  1. run npm install in the blockly root directory(in the same location as the package.json).
  2. run ./build.py to update the compressed files, as build.py has changed.
  3. run node app.headless.js