{"action":"closed","number":44,"pull_request":{"url":"https://api.github.com/repos/aninternetof/rovercode/pulls/44","id":88502430,"html_url":"https://github.com/aninternetof/rovercode/pull/44","diff_url":"https://github.com/aninternetof/rovercode/pull/44.diff","patch_url":"https://github.com/aninternetof/rovercode/pull/44.patch","issue_url":"https://api.github.com/repos/aninternetof/rovercode/issues/44","number":44,"state":"closed","locked":false,"title":"Removes domain and port for rover service resources","user":{"login":"aninternetof","id":976857,"avatar_url":"https://avatars.githubusercontent.com/u/976857?v=3","gravatar_id":"","url":"https://api.github.com/users/aninternetof","html_url":"https://github.com/aninternetof","followers_url":"https://api.github.com/users/aninternetof/followers","following_url":"https://api.github.com/users/aninternetof/following{/other_user}","gists_url":"https://api.github.com/users/aninternetof/gists{/gist_id}","starred_url":"https://api.github.com/users/aninternetof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aninternetof/subscriptions","organizations_url":"https://api.github.com/users/aninternetof/orgs","repos_url":"https://api.github.com/users/aninternetof/repos","events_url":"https://api.github.com/users/aninternetof/events{/privacy}","received_events_url":"https://api.github.com/users/aninternetof/received_events","type":"User","site_admin":false},"body":"Using \"localhost:5000\" to access the Flask service works great on development PCs, but doesn't work in the final use-case of running a browser on one PC and the Flask service on the rover.\r\n\r\nThis pull request removes the localhost domain in the url and creates a variable for the rover's IP address. \r\n\r\nFor now, we'll assume that the Flask service and the webpage are being hosted from the same place, and set the IP address to an empty string.  Since browsers don't like to let you access other ports than the one that served you the webpage, we'll need to access the Flask API through Lighttpd's port 80. To set up lightly to forward our API calls on to Flask's port 5000, follow these steps:\r\n\r\n* Edit your lighttpd.conf in these two ways\r\n  * Uncomment the line that says \"mod_proxy\" to enable mod_proxy\r\n  * Add this somewhere:\r\n   ```\r\n#### proxy module\r\n## read proxy.txt for more info\r\nproxy.server               = ( \"/api/v1/\" =>\r\n                               (\r\n                                 (\r\n                                   \"host\" => \"127.0.0.1\",\r\n                                   \"port\" => 5000\r\n                                 )\r\n                               )\r\n                             )\r\n   ```\r\n\r\n* Restart lighttpd\r\n`sudo /etc/init.d/lighttpd restart`","created_at":"2016-10-07T20:25:49Z","updated_at":"2016-10-12T16:59:32Z","closed_at":"2016-10-12T16:59:31Z","merged_at":"2016-10-12T16:59:31Z","merge_commit_sha":"dd111502814b9e86cde3e1866e12aaea159c7f21","assignee":{"login":"cabarnes","id":1184314,"avatar_url":"https://avatars.githubusercontent.com/u/1184314?v=3","gravatar_id":"","url":"https://api.github.com/users/cabarnes","html_url":"https://github.com/cabarnes","followers_url":"https://api.github.com/users/cabarnes/followers","following_url":"https://api.github.com/users/cabarnes/following{/other_user}","gists_url":"https://api.github.com/users/cabarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/cabarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cabarnes/subscriptions","organizations_url":"https://api.github.com/users/cabarnes/orgs","repos_url":"https://api.github.com/users/cabarnes/repos","events_url":"https://api.github.com/users/cabarnes/events{/privacy}","received_events_url":"https://api.github.com/users/cabarnes/received_events","type":"User","site_admin":false},"assignees":[{"login":"cabarnes","id":1184314,"avatar_url":"https://avatars.githubusercontent.com/u/1184314?v=3","gravatar_id":"","url":"https://api.github.com/users/cabarnes","html_url":"https://github.com/cabarnes","followers_url":"https://api.github.com/users/cabarnes/followers","following_url":"https://api.github.com/users/cabarnes/following{/other_user}","gists_url":"https://api.github.com/users/cabarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/cabarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cabarnes/subscriptions","organizations_url":"https://api.github.com/users/cabarnes/orgs","repos_url":"https://api.github.com/users/cabarnes/repos","events_url":"https://api.github.com/users/cabarnes/events{/privacy}","received_events_url":"https://api.github.com/users/cabarnes/received_events","type":"User","site_admin":false},{"login":"wavetylor","id":1432059,"avatar_url":"https://avatars.githubusercontent.com/u/1432059?v=3","gravatar_id":"","url":"https://api.github.com/users/wavetylor","html_url":"https://github.com/wavetylor","followers_url":"https://api.github.com/users/wavetylor/followers","following_url":"https://api.github.com/users/wavetylor/following{/other_user}","gists_url":"https://api.github.com/users/wavetylor/gists{/gist_id}","starred_url":"https://api.github.com/users/wavetylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wavetylor/subscriptions","organizations_url":"https://api.github.com/users/wavetylor/orgs","repos_url":"https://api.github.com/users/wavetylor/repos","events_url":"https://api.github.com/users/wavetylor/events{/privacy}","received_events_url":"https://api.github.com/users/wavetylor/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/aninternetof/rovercode/milestones/2","html_url":"https://github.com/aninternetof/rovercode/milestones/Release%200.2","labels_url":"https://api.github.com/repos/aninternetof/rovercode/milestones/2/labels","id":1626381,"number":2,"title":"Release 0.2","description":"Migration from PHP to a flask service. Cleaning and easing installing.","creator":{"login":"aninternetof","id":976857,"avatar_url":"https://avatars.githubusercontent.com/u/976857?v=3","gravatar_id":"","url":"https://api.github.com/users/aninternetof","html_url":"https://github.com/aninternetof","followers_url":"https://api.github.com/users/aninternetof/followers","following_url":"https://api.github.com/users/aninternetof/following{/other_user}","gists_url":"https://api.github.com/users/aninternetof/gists{/gist_id}","starred_url":"https://api.github.com/users/aninternetof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aninternetof/subscriptions","organizations_url":"https://api.github.com/users/aninternetof/orgs","repos_url":"https://api.github.com/users/aninternetof/repos","events_url":"https://api.github.com/users/aninternetof/events{/privacy}","received_events_url":"https://api.github.com/users/aninternetof/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":10,"state":"open","created_at":"2016-03-07T14:29:17Z","updated_at":"2016-10-12T16:59:32Z","due_on":"2016-10-09T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/aninternetof/rovercode/pulls/44/commits","review_comments_url":"https://api.github.com/repos/aninternetof/rovercode/pulls/44/comments","review_comment_url":"https://api.github.com/repos/aninternetof/rovercode/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aninternetof/rovercode/issues/44/comments","statuses_url":"https://api.github.com/repos/aninternetof/rovercode/statuses/5eb9c6d7267eec12f7e568cb46a21e8afee61805","head":{"label":"aninternetof:feature/reworks-domain-for-rover-service","ref":"feature/reworks-domain-for-rover-service","sha":"5eb9c6d7267eec12f7e568cb46a21e8afee61805","user":{"login":"aninternetof","id":976857,"avatar_url":"https://avatars.githubusercontent.com/u/976857?v=3","gravatar_id":"","url":"https://api.github.com/users/aninternetof","html_url":"https://github.com/aninternetof","followers_url":"https://api.github.com/users/aninternetof/followers","following_url":"https://api.github.com/users/aninternetof/following{/other_user}","gists_url":"https://api.github.com/users/aninternetof/gists{/gist_id}","starred_url":"https://api.github.com/users/aninternetof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aninternetof/subscriptions","organizations_url":"https://api.github.com/users/aninternetof/orgs","repos_url":"https://api.github.com/users/aninternetof/repos","events_url":"https://api.github.com/users/aninternetof/events{/privacy}","received_events_url":"https://api.github.com/users/aninternetof/received_events","type":"User","site_admin":false},"repo":{"id":48381501,"name":"rovercode","full_name":"aninternetof/rovercode","owner":{"login":"aninternetof","id":976857,"avatar_url":"https://avatars.githubusercontent.com/u/976857?v=3","gravatar_id":"","url":"https://api.github.com/users/aninternetof","html_url":"https://github.com/aninternetof","followers_url":"https://api.github.com/users/aninternetof/followers","following_url":"https://api.github.com/users/aninternetof/following{/other_user}","gists_url":"https://api.github.com/users/aninternetof/gists{/gist_id}","starred_url":"https://api.github.com/users/aninternetof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aninternetof/subscriptions","organizations_url":"https://api.github.com/users/aninternetof/orgs","repos_url":"https://api.github.com/users/aninternetof/repos","events_url":"https://api.github.com/users/aninternetof/events{/privacy}","received_events_url":"https://api.github.com/users/aninternetof/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aninternetof/rovercode","description":"Block-based programming for educational robots","fork":false,"url":"https://api.github.com/repos/aninternetof/rovercode","forks_url":"https://api.github.com/repos/aninternetof/rovercode/forks","keys_url":"https://api.github.com/repos/aninternetof/rovercode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aninternetof/rovercode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aninternetof/rovercode/teams","hooks_url":"https://api.github.com/repos/aninternetof/rovercode/hooks","issue_events_url":"https://api.github.com/repos/aninternetof/rovercode/issues/events{/number}","events_url":"https://api.github.com/repos/aninternetof/rovercode/events","assignees_url":"https://api.github.com/repos/aninternetof/rovercode/assignees{/user}","branches_url":"https://api.github.com/repos/aninternetof/rovercode/branches{/branch}","tags_url":"https://api.github.com/repos/aninternetof/rovercode/tags","blobs_url":"https://api.github.com/repos/aninternetof/rovercode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aninternetof/rovercode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aninternetof/rovercode/git/refs{/sha}","trees_url":"https://api.github.com/repos/aninternetof/rovercode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aninternetof/rovercode/statuses/{sha}","languages_url":"https://api.github.com/repos/aninternetof/rovercode/languages","stargazers_url":"https://api.github.com/repos/aninternetof/rovercode/stargazers","contributors_url":"https://api.github.com/repos/aninternetof/rovercode/contributors","subscribers_url":"https://api.github.com/repos/aninternetof/rovercode/subscribers","subscription_url":"https://api.github.com/repos/aninternetof/rovercode/subscription","commits_url":"https://api.github.com/repos/aninternetof/rovercode/commits{/sha}","git_commits_url":"https://api.github.com/repos/aninternetof/rovercode/git/commits{/sha}","comments_url":"https://api.github.com/repos/aninternetof/rovercode/comments{/number}","issue_comment_url":"https://api.github.com/repos/aninternetof/rovercode/issues/comments{/number}","contents_url":"https://api.github.com/repos/aninternetof/rovercode/contents/{+path}","compare_url":"https://api.github.com/repos/aninternetof/rovercode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aninternetof/rovercode/merges","archive_url":"https://api.github.com/repos/aninternetof/rovercode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aninternetof/rovercode/downloads","issues_url":"https://api.github.com/repos/aninternetof/rovercode/issues{/number}","pulls_url":"https://api.github.com/repos/aninternetof/rovercode/pulls{/number}","milestones_url":"https://api.github.com/repos/aninternetof/rovercode/milestones{/number}","notifications_url":"https://api.github.com/repos/aninternetof/rovercode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aninternetof/rovercode/labels{/name}","releases_url":"https://api.github.com/repos/aninternetof/rovercode/releases{/id}","deployments_url":"https://api.github.com/repos/aninternetof/rovercode/deployments","created_at":"2015-12-21T16:15:11Z","updated_at":"2016-09-09T14:35:56Z","pushed_at":"2016-10-12T16:59:31Z","git_url":"git://github.com/aninternetof/rovercode.git","ssh_url":"git@github.com:aninternetof/rovercode.git","clone_url":"https://github.com/aninternetof/rovercode.git","svn_url":"https://github.com/aninternetof/rovercode","homepage":"http://rovercode.org/","size":3318,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":22,"forks":3,"open_issues":22,"watchers":0,"default_branch":"master"}},"base":{"label":"aninternetof:development","ref":"development","sha":"8f88cacf0584d69fea8990a652e7fd440a733ead","user":{"login":"aninternetof","id":976857,"avatar_url":"https://avatars.githubusercontent.com/u/976857?v=3","gravatar_id":"","url":"https://api.github.com/users/aninternetof","html_url":"https://github.com/aninternetof","followers_url":"https://api.github.com/users/aninternetof/followers","following_url":"https://api.github.com/users/aninternetof/following{/other_user}","gists_url":"https://api.github.com/users/aninternetof/gists{/gist_id}","starred_url":"https://api.github.com/users/aninternetof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aninternetof/subscriptions","organizations_url":"https://api.github.com/users/aninternetof/orgs","repos_url":"https://api.github.com/users/aninternetof/repos","events_url":"https://api.github.com/users/aninternetof/events{/privacy}","received_events_url":"https://api.github.com/users/aninternetof/received_events","type":"User","site_admin":false},"repo":{"id":48381501,"name":"rovercode","full_name":"aninternetof/rovercode","owner":{"login":"aninternetof","id":976857,"avatar_url":"https://avatars.githubusercontent.com/u/976857?v=3","gravatar_id":"","url":"https://api.github.com/users/aninternetof","html_url":"https://github.com/aninternetof","followers_url":"https://api.github.com/users/aninternetof/followers","following_url":"https://api.github.com/users/aninternetof/following{/other_user}","gists_url":"https://api.github.com/users/aninternetof/gists{/gist_id}","starred_url":"https://api.github.com/users/aninternetof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aninternetof/subscriptions","organizations_url":"https://api.github.com/users/aninternetof/orgs","repos_url":"https://api.github.com/users/aninternetof/repos","events_url":"https://api.github.com/users/aninternetof/events{/privacy}","received_events_url":"https://api.github.com/users/aninternetof/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aninternetof/rovercode","description":"Block-based programming for educational robots","fork":false,"url":"https://api.github.com/repos/aninternetof/rovercode","forks_url":"https://api.github.com/repos/aninternetof/rovercode/forks","keys_url":"https://api.github.com/repos/aninternetof/rovercode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aninternetof/rovercode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aninternetof/rovercode/teams","hooks_url":"https://api.github.com/repos/aninternetof/rovercode/hooks","issue_events_url":"https://api.github.com/repos/aninternetof/rovercode/issues/events{/number}","events_url":"https://api.github.com/repos/aninternetof/rovercode/events","assignees_url":"https://api.github.com/repos/aninternetof/rovercode/assignees{/user}","branches_url":"https://api.github.com/repos/aninternetof/rovercode/branches{/branch}","tags_url":"https://api.github.com/repos/aninternetof/rovercode/tags","blobs_url":"https://api.github.com/repos/aninternetof/rovercode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aninternetof/rovercode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aninternetof/rovercode/git/refs{/sha}","trees_url":"https://api.github.com/repos/aninternetof/rovercode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aninternetof/rovercode/statuses/{sha}","languages_url":"https://api.github.com/repos/aninternetof/rovercode/languages","stargazers_url":"https://api.github.com/repos/aninternetof/rovercode/stargazers","contributors_url":"https://api.github.com/repos/aninternetof/rovercode/contributors","subscribers_url":"https://api.github.com/repos/aninternetof/rovercode/subscribers","subscription_url":"https://api.github.com/repos/aninternetof/rovercode/subscription","commits_url":"https://api.github.com/repos/aninternetof/rovercode/commits{/sha}","git_commits_url":"https://api.github.com/repos/aninternetof/rovercode/git/commits{/sha}","comments_url":"https://api.github.com/repos/aninternetof/rovercode/comments{/number}","issue_comment_url":"https://api.github.com/repos/aninternetof/rovercode/issues/comments{/number}","contents_url":"https://api.github.com/repos/aninternetof/rovercode/contents/{+path}","compare_url":"https://api.github.com/repos/aninternetof/rovercode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aninternetof/rovercode/merges","archive_url":"https://api.github.com/repos/aninternetof/rovercode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aninternetof/rovercode/downloads","issues_url":"https://api.github.com/repos/aninternetof/rovercode/issues{/number}","pulls_url":"https://api.github.com/repos/aninternetof/rovercode/pulls{/number}","milestones_url":"https://api.github.com/repos/aninternetof/rovercode/milestones{/number}","notifications_url":"https://api.github.com/repos/aninternetof/rovercode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aninternetof/rovercode/labels{/name}","releases_url":"https://api.github.com/repos/aninternetof/rovercode/releases{/id}","deployments_url":"https://api.github.com/repos/aninternetof/rovercode/deployments","created_at":"2015-12-21T16:15:11Z","updated_at":"2016-09-09T14:35:56Z","pushed_at":"2016-10-12T16:59:31Z","git_url":"git://github.com/aninternetof/rovercode.git","ssh_url":"git@github.com:aninternetof/rovercode.git","clone_url":"https://github.com/aninternetof/rovercode.git","svn_url":"https://github.com/aninternetof/rovercode","homepage":"http://rovercode.org/","size":3318,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":22,"forks":3,"open_issues":22,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aninternetof/rovercode/pulls/44"},"html":{"href":"https://github.com/aninternetof/rovercode/pull/44"},"issue":{"href":"https://api.github.com/repos/aninternetof/rovercode/issues/44"},"comments":{"href":"https://api.github.com/repos/aninternetof/rovercode/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/aninternetof/rovercode/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/aninternetof/rovercode/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aninternetof/rovercode/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/aninternetof/rovercode/statuses/5eb9c6d7267eec12f7e568cb46a21e8afee61805"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"aninternetof","id":976857,"avatar_url":"https://avatars.githubusercontent.com/u/976857?v=3","gravatar_id":"","url":"https://api.github.com/users/aninternetof","html_url":"https://github.com/aninternetof","followers_url":"https://api.github.com/users/aninternetof/followers","following_url":"https://api.github.com/users/aninternetof/following{/other_user}","gists_url":"https://api.github.com/users/aninternetof/gists{/gist_id}","starred_url":"https://api.github.com/users/aninternetof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aninternetof/subscriptions","organizations_url":"https://api.github.com/users/aninternetof/orgs","repos_url":"https://api.github.com/users/aninternetof/repos","events_url":"https://api.github.com/users/aninternetof/events{/privacy}","received_events_url":"https://api.github.com/users/aninternetof/received_events","type":"User","site_admin":false},"comments":2,"review_comments":19,"commits":9,"additions":105,"deletions":93,"changed_files":5}}
{"actor":{"display_login":"aninternetof"}}