{"action":"created","issue":{"url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/180","repository_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push","labels_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/180/comments","events_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/180/events","html_url":"https://github.com/nordnet/cordova-hot-code-push/issues/180","id":162866014,"number":180,"title":"offline use for cordova-hcp server ","user":{"login":"kartsims","id":4136975,"avatar_url":"https://avatars.githubusercontent.com/u/4136975?v=3","gravatar_id":"","url":"https://api.github.com/users/kartsims","html_url":"https://github.com/kartsims","followers_url":"https://api.github.com/users/kartsims/followers","following_url":"https://api.github.com/users/kartsims/following{/other_user}","gists_url":"https://api.github.com/users/kartsims/gists{/gist_id}","starred_url":"https://api.github.com/users/kartsims/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kartsims/subscriptions","organizations_url":"https://api.github.com/users/kartsims/orgs","repos_url":"https://api.github.com/users/kartsims/repos","events_url":"https://api.github.com/users/kartsims/events{/privacy}","received_events_url":"https://api.github.com/users/kartsims/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-29T08:15:32Z","updated_at":"2016-06-29T09:04:45Z","closed_at":null,"body":"I am working often offline on my application and can't use the dev server... I know you need to fetch the configuration and files from somewhere but why does it have to be on the internet ?\r\n\r\nIf my device is plugged in my laptop, it should be able to access its IP right ? And couldn't I host my code locally and tell Cordova HCP to fetch updates there ?\r\n\r\nI am guessing others would have related issues such as firewall or even just the fact of pushing your code online on an unknown remote server..."},"comment":{"url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/comments/229299586","html_url":"https://github.com/nordnet/cordova-hot-code-push/issues/180#issuecomment-229299586","issue_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/180","id":229299586,"user":{"login":"nikDemyankov","id":13447778,"avatar_url":"https://avatars.githubusercontent.com/u/13447778?v=3","gravatar_id":"","url":"https://api.github.com/users/nikDemyankov","html_url":"https://github.com/nikDemyankov","followers_url":"https://api.github.com/users/nikDemyankov/followers","following_url":"https://api.github.com/users/nikDemyankov/following{/other_user}","gists_url":"https://api.github.com/users/nikDemyankov/gists{/gist_id}","starred_url":"https://api.github.com/users/nikDemyankov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikDemyankov/subscriptions","organizations_url":"https://api.github.com/users/nikDemyankov/orgs","repos_url":"https://api.github.com/users/nikDemyankov/repos","events_url":"https://api.github.com/users/nikDemyankov/events{/privacy}","received_events_url":"https://api.github.com/users/nikDemyankov/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T09:04:45Z","updated_at":"2016-06-29T09:04:45Z","body":"Usually for development purpose you would use [cordova-hot-code-push-local-dev-addon](https://github.com/nordnet/cordova-hot-code-push/wiki/Local-Development-Plugin). The mechanics is quite simple: just run the `cordova-hcp server` over your `www` folder and that's it. Dev plugin will inject this local server's url into `config.xml` and when you do any changes in the `www` folder - plugin will detect them and trigger the update process.\r\n\r\nRegarding fully local development: I haven't tried that approach, to be honest. But in theory it should work, if you launch some local server and point app to `http://localhost/chcp.json` (or something similar)."}}
{"actor":{"display_login":"nikDemyankov"}}