Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm the project #58

Closed
yanick opened this issue Feb 8, 2018 · 3 comments
Closed

npm the project #58

yanick opened this issue Feb 8, 2018 · 3 comments

Comments

@yanick
Copy link
Collaborator

yanick commented Feb 8, 2018

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

@yanick
Copy link
Collaborator Author

yanick commented Feb 13, 2018

duplicate of #38

@yanick yanick closed this as completed Feb 13, 2018
@haileety
Copy link

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
Copy link
Collaborator Author

yanick commented Aug 26, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants