0.4.0 • Published 8 months ago
software-sparql-blocks v0.4.0
SparqlBlocks
Using the Blockly library for building SPARQL queries using visual blocks instead of code.
Usage
Just serve statically the content of the directory ./dist
.
For example, if you have python installed you can use SimpleHTTPServer
cd dist
python -m SimpleHTTPServer 8080
and then open http://localhost:8080/.
Alternatively, you can use the nodejs server in SparqlBlocks-Server that offers also logging capability.
Contributing
Prerequisites
To contribute you need to have Node+npm, and gulp.
Check for Node and npm
Check if you've installed Node and npm.
node --version
npm --version
Install Node and npm
If you don't have them, download and install them from Node.js website
Check for gulp
Check if you've installed gulp.
gulp --version
Install gulp
If you don't have gulp, run the following command to install it.
npm install --global gulp-cli
Building
To install the dependencies, run this command from the main dir.
npm install
To build the static files in ./dist
after a change, run gulp.
gulp