Element providing Blockly interface for Gobstones Web
First, make sure you have the Polymer CLI and Bower installed.
$ npm install -g bower
$ npm install -g polymer-cli
Then, run bower install
$ polymer serve
Despues de correr el comando visitar http://localhost:8080/components/gs-element-blockly/
Y hacer click en el botón de arriba a la derecha "demo"
$ polymer build
This will create a build/
folder with bundled/
and unbundled/
sub-folders
containing a bundled (Vulcanized) and unbundled builds, both run through HTML,
CSS, and JS optimizers.
You can serve the built versions by giving polymer serve
a folder to serve
from:
$ polymer serve build/bundled
$ polymer test
Your application is already set up to be tested via web-component-tester. Run polymer test
to run your application's test suite locally.
Just create a folder and run gp.sh with parameters:
mkdir temp
cd temp
../gp.sh Program-AR gs-element-blockly dev
cd ..
rm -rf temp
or simply execute ./deploy-gh-pages.sh
This module can also be deployed a ruby gem. gobstones-blockly
works with Ruby 2.3.1
cd gem
rake wrapper:wrap
bundle install
bundle exec rspec
This command will build a minified .html file with all included:
./build.sh
./tag.sh