Skip to content

Program-AR/gs-element-blockly

 
 

Repository files navigation

<gs-element-blockly>

Element providing Blockly interface for Gobstones Web

Install Development Environment

First, make sure you have the Polymer CLI and Bower installed.

$ npm install -g bower
$ npm install -g polymer-cli

Then, run bower install

Viewing Your Application

$ 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"

Building Your Application

$ 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

Running Tests

$ 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.

Deploy Demo to Program-AR.github.io/gs-element-blockly

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

Gem wrapper

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

Building

This command will build a minified .html file with all included:

./build.sh

Tagging and releasing

./tag.sh

About

Blockly element for gobstones web

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 74.9%
  • HTML 21.7%
  • Ruby 1.7%
  • Shell 1.7%