{"action":"created","issue":{"url":"https://api.github.com/repos/mulesoft/api-notebook/issues/383","labels_url":"https://api.github.com/repos/mulesoft/api-notebook/issues/383/labels{/name}","comments_url":"https://api.github.com/repos/mulesoft/api-notebook/issues/383/comments","events_url":"https://api.github.com/repos/mulesoft/api-notebook/issues/383/events","html_url":"https://github.com/mulesoft/api-notebook/issues/383","id":114397139,"number":383,"title":"How to expose the notebook as the webapp and use the local raml file?","user":{"login":"HomeLH","id":13626238,"avatar_url":"https://avatars.githubusercontent.com/u/13626238?v=3","gravatar_id":"","url":"https://api.github.com/users/HomeLH","html_url":"https://github.com/HomeLH","followers_url":"https://api.github.com/users/HomeLH/followers","following_url":"https://api.github.com/users/HomeLH/following{/other_user}","gists_url":"https://api.github.com/users/HomeLH/gists{/gist_id}","starred_url":"https://api.github.com/users/HomeLH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HomeLH/subscriptions","organizations_url":"https://api.github.com/users/HomeLH/orgs","repos_url":"https://api.github.com/users/HomeLH/repos","events_url":"https://api.github.com/users/HomeLH/events{/privacy}","received_events_url":"https://api.github.com/users/HomeLH/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-31T08:17:37Z","updated_at":"2015-11-04T23:13:55Z","closed_at":null,"body":"I am a newer about the api-notebook, when I try to expose it as a webapp through `grunt build`. It did not works well, it noticed 'can't establish a connection to the server at localhost:3000.' The second problem I met is that how I can use the local raml file rather than url. `API.createClient('users','\\home\\api.raml')` it did not work well.\r\n\r\nThank you very much!"},"comment":{"url":"https://api.github.com/repos/mulesoft/api-notebook/issues/comments/153900427","html_url":"https://github.com/mulesoft/api-notebook/issues/383#issuecomment-153900427","issue_url":"https://api.github.com/repos/mulesoft/api-notebook/issues/383","id":153900427,"user":{"login":"blakeembrey","id":1088987,"avatar_url":"https://avatars.githubusercontent.com/u/1088987?v=3","gravatar_id":"","url":"https://api.github.com/users/blakeembrey","html_url":"https://github.com/blakeembrey","followers_url":"https://api.github.com/users/blakeembrey/followers","following_url":"https://api.github.com/users/blakeembrey/following{/other_user}","gists_url":"https://api.github.com/users/blakeembrey/gists{/gist_id}","starred_url":"https://api.github.com/users/blakeembrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakeembrey/subscriptions","organizations_url":"https://api.github.com/users/blakeembrey/orgs","repos_url":"https://api.github.com/users/blakeembrey/repos","events_url":"https://api.github.com/users/blakeembrey/events{/privacy}","received_events_url":"https://api.github.com/users/blakeembrey/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T23:13:55Z","updated_at":"2015-11-04T23:13:55Z","body":"To serve locally, use just `grunt`. As for loading from the local filesystem, it won't work - files are loaded relative to the URL which would be `http://localhost:3000`."}}