lbovet / docson

Documentation for your JSON types
Apache License 2.0
491 stars 97 forks source link

npm the project #58

Closed yanick closed 6 years ago

yanick commented 6 years ago

See https://github.com/rom1504/docson/commits/npm

yanick commented 6 years ago

duplicate of #38

haileety commented 5 years ago

can i ask how to run this project. I have run docson-cli.js in nodejs,then open the index.html page,but input the url to other json not work。can any body help me? THANKS,

Please enter a schema URL: examples/example.json Could not load examples/example.json: error Not Found

yanick commented 5 years ago

Which index.html would that be?

If you are in the main directory of the project, you should be able to do:

  1. node lib/docson-cli.js -d examples
  2. open http://localhost:3000 in your browser
  3. click on example1.json (or any other json schema in that directory)
  4. and... you should see the schema.