Installation
npm install -g http-server
API Console unfortunately is not available on NPM. See its README for installation instructions.
You might have to run grunt
after installation. Grunt opens a web page, just close it.
Run:
cd your_app/raml
http-server --cors -c5 -a 127.0.0.1
The HTTP server has CORS enabled for all domains, a cache time of 5 seconds (default is 1 hour) and listens on the loopback interface.
Then go to
file:///PATH/TO/api-console/dist/index.html?raml=http://localhost:8080/your_app.raml