gavinhungry / sandbug

An interactive web scripting sandbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sandbug

An interactive web scripting sandbox.

Modes

Currently supported language modes are:

Installation

$ git update-index --assume-unchanged config.json deploy.json

# npm -g install gulp
$ npm install
$ gulp

$ node sandbug.js
> sandbug running on port 8080

Example Nginx configuration

server {
  listen 80;
  server_name sandbug.example.tld;

  location / { proxy_pass http://127.0.0.1:8080; }
  location ~* ^(/test/?|.+\.(html|js|css|woff|png|jpg|gif|ico|txt|json))$ {
    root /srv/http/sandbug/public;
  }
}

server {
  listen 80;
  server_name frame.sandbug.example.tld;
  root /srv/http/sandbug/frame;
}

Unit Tests

Run the (woefully incomplete) set of Jasmine unit tests from localhost:8080/test.

Attributions

The icons used throughout the interface are from the Font Awesome set by Dave Gandy (SIL OFL 1.1).

License

This software is released under the terms of the MIT license. See LICENSE.

About

An interactive web scripting sandbox

License:MIT License


Languages

Language:JavaScript 82.1%Language:CSS 12.3%Language:HTML 5.6%