Browser-based tool for editing OSVR JSON files, based on JSON Schema.
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
helpers
src
.editorconfig
.gitattributes
.gitignore
CHANGELOG
Gruntfile.js
LICENSE
NOTICE
README.md
bower.json
package.json

README.md

OSVR-JSON-Editor

Browser-based editor for OSVR device descriptor JSON and soon other OSVR JSON files.

Use it now at http://tools.getosvr.org/json-editor/

Maintained at https://github.com/OSVR/OSVR-JSON-Editor

For details, see http://osvr.github.io

For support, see http://support.osvr.com

Installed Version

The "canonical" installation of this tool is at:

http://tools.getosvr.org/json-editor/

That version gets rebuilt (within roughly a minute) any time a push to this repository or to the OSVR JSON Schema repository (which this uses) is detected.

This means that in most cases, it's not necessary to install locally except for testing. The "app" itself runs entirely client-side: it's just static web pages with JavaScript.

Build instructions

You need npm, grunt-cli, and bower installed globally. I think. Get npm with your package system, then this should get the rest:

npm i -g grunt-cli
npm i -g bower

Add sudo as needed.

If you're on Windows, use of Chocolatey is recommended, in which case

choco install nodejs.install

(latest correct command per @ferventcoder as of 9-feb-2015) should take place before the npm commands above.

To build this web site:

npm i && grunt

Output ends up in dist.

You can serve it locally with

grunt server

About

This system is based around the "JSON Schema Based Editor" jdorn/json-editor for the main interactivity.

Bootstrap is used for styling, of course.

Assemble is used for the static site assembly from source.

License

This project: Licensed under the Apache License, Version 2.0.