Source code for the Vanadium playground web client.
build
- Temporary directory used for building the client.bundles
- Default playground examples. Organized as bundles/<group>/<example>/
.node_modules
- Disposable directory created by npm install
- dependency modules.npm install
to grab playground dependencies.public
- Deployed client website, served by npm start
.src/javascript
- Scripts implementing the playground client.src/static
- HTML and other static resources for a simple embedded client instance.src/stylesheets
- CSS for playground editor and output.Build the playground web client:
make deploy
The command above automatically fetches node dependencies, browserifies Javascript, and copies all client resources (browserified Javascript, CSS, static files, example bundles) from src
and bundles
to the public
directory for serving.
Start a server on localhost:8088:
npm start
Alternatively, build and start the server in one command with:
make start
As of dec-2014, the playground doc is here.