{"action":"created","comment":{"url":"https://api.github.com/repos/azavea/tilegarden/pulls/comments/194509751","pull_request_review_id":127695819,"id":194509751,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NDUwOTc1MQ==","diff_hunk":"@@ -23,3 +23,14 @@ services:\n     image: redis:3.2\n     expose:\n     - \"6379\"\n+  leaflet:","path":"breakable_toy/docker-compose.yml","position":4,"original_position":4,"commit_id":"3c584a81641cf819fdfa31974bdd6c2a010bcf2b","original_commit_id":"3c584a81641cf819fdfa31974bdd6c2a010bcf2b","user":{"login":"mattdelsordo","id":16990679,"node_id":"MDQ6VXNlcjE2OTkwNjc5","avatar_url":"https://avatars2.githubusercontent.com/u/16990679?v=4","gravatar_id":"","url":"https://api.github.com/users/mattdelsordo","html_url":"https://github.com/mattdelsordo","followers_url":"https://api.github.com/users/mattdelsordo/followers","following_url":"https://api.github.com/users/mattdelsordo/following{/other_user}","gists_url":"https://api.github.com/users/mattdelsordo/gists{/gist_id}","starred_url":"https://api.github.com/users/mattdelsordo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattdelsordo/subscriptions","organizations_url":"https://api.github.com/users/mattdelsordo/orgs","repos_url":"https://api.github.com/users/mattdelsordo/repos","events_url":"https://api.github.com/users/mattdelsordo/events{/privacy}","received_events_url":"https://api.github.com/users/mattdelsordo/received_events","type":"User","site_admin":false},"body":"That's a good point about the nginx service, my original thought was to try and compartmentalize the system by only exposing Windshaft to the nginx server rather than to a localhost port. When I realized that that isn't how that works (since you have to load the tiles from client-side JS anyway) I didn't think to get rid of the service.","created_at":"2018-06-11T18:51:50Z","updated_at":"2018-06-11T18:51:50Z","html_url":"https://github.com/azavea/tilegarden/pull/13#discussion_r194509751","pull_request_url":"https://api.github.com/repos/azavea/tilegarden/pulls/13","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/azavea/tilegarden/pulls/comments/194509751"},"html":{"href":"https://github.com/azavea/tilegarden/pull/13#discussion_r194509751"},"pull_request":{"href":"https://api.github.com/repos/azavea/tilegarden/pulls/13"}},"in_reply_to_id":194502867},"pull_request":{"url":"https://api.github.com/repos/azavea/tilegarden/pulls/13","id":194051201,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0MDUxMjAx","html_url":"https://github.com/azavea/tilegarden/pull/13","diff_url":"https://github.com/azavea/tilegarden/pull/13.diff","patch_url":"https://github.com/azavea/tilegarden/pull/13.patch","issue_url":"https://api.github.com/repos/azavea/tilegarden/issues/13","number":13,"state":"open","locked":false,"title":"Leaflet Demo","user":{"login":"mattdelsordo","id":16990679,"node_id":"MDQ6VXNlcjE2OTkwNjc5","avatar_url":"https://avatars2.githubusercontent.com/u/16990679?v=4","gravatar_id":"","url":"https://api.github.com/users/mattdelsordo","html_url":"https://github.com/mattdelsordo","followers_url":"https://api.github.com/users/mattdelsordo/followers","following_url":"https://api.github.com/users/mattdelsordo/following{/other_user}","gists_url":"https://api.github.com/users/mattdelsordo/gists{/gist_id}","starred_url":"https://api.github.com/users/mattdelsordo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattdelsordo/subscriptions","organizations_url":"https://api.github.com/users/mattdelsordo/orgs","repos_url":"https://api.github.com/users/mattdelsordo/repos","events_url":"https://api.github.com/users/mattdelsordo/events{/privacy}","received_events_url":"https://api.github.com/users/mattdelsordo/received_events","type":"User","site_admin":false},"body":"## Overview\r\n\r\nThis PR adds a static webpage that uses Leaflet to demo the tiles drawn by Windshaft.\r\n\r\n\r\n### Demo\r\n\r\n![leaflet-demo](https://user-images.githubusercontent.com/16990679/41247125-0dff3ba8-6d7b-11e8-9cab-a022a1ebad63.png)\r\n\r\n### Notes\r\n\r\nFrom #12:\r\n> Strictly speaking, this PR won't allow Windshaft to serve tiles properly as the example data set is not properly formatted, and altering the data seems outside the scope of this branch. In order to properly format the data, run './scripts/console db' to enter the database console and create a new column in the 'pa_gardens' table called 'the_geom_webmercator' that contains the values of the pre-existing 'geom' column re-projected to have a SRID of 3857. \r\n> ~~~~\r\n>\r\n> ALTER TABLE pa_gardens ADD COLUMN the_geom_webmercator geometry(POINT, 3857);\r\n> UPDATE pa_gardens SET the_geom_webmercator = ST_Transform(ST_SetSRID(geom, 4326), 3857);\r\n>\r\n> ~~~~\r\n\r\n\r\n\r\n## Testing Instructions\r\n\r\n * Run ./server/setup to build containers. All containers are built from images, but this is necessary in order to load in data to PostGIS.\r\n * Run ./scripts/server to start the containers (db, redis, windshaft, leaflet). Windshaft should tell you that map tiles are now being served.\r\n * Visit http://localhost/. You should see a map that displays the locations from the data set.\r\n\r\n\r\nResolves #2 \r\n\r\n","created_at":"2018-06-11T17:33:22Z","updated_at":"2018-06-11T18:51:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"550b99cc5817959bcbbb80e8cc8f0f2cf235e07e","assignee":{"login":"KlaasH","id":6598836,"node_id":"MDQ6VXNlcjY1OTg4MzY=","avatar_url":"https://avatars3.githubusercontent.com/u/6598836?v=4","gravatar_id":"","url":"https://api.github.com/users/KlaasH","html_url":"https://github.com/KlaasH","followers_url":"https://api.github.com/users/KlaasH/followers","following_url":"https://api.github.com/users/KlaasH/following{/other_user}","gists_url":"https://api.github.com/users/KlaasH/gists{/gist_id}","starred_url":"https://api.github.com/users/KlaasH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KlaasH/subscriptions","organizations_url":"https://api.github.com/users/KlaasH/orgs","repos_url":"https://api.github.com/users/KlaasH/repos","events_url":"https://api.github.com/users/KlaasH/events{/privacy}","received_events_url":"https://api.github.com/users/KlaasH/received_events","type":"User","site_admin":false},"assignees":[{"login":"KlaasH","id":6598836,"node_id":"MDQ6VXNlcjY1OTg4MzY=","avatar_url":"https://avatars3.githubusercontent.com/u/6598836?v=4","gravatar_id":"","url":"https://api.github.com/users/KlaasH","html_url":"https://github.com/KlaasH","followers_url":"https://api.github.com/users/KlaasH/followers","following_url":"https://api.github.com/users/KlaasH/following{/other_user}","gists_url":"https://api.github.com/users/KlaasH/gists{/gist_id}","starred_url":"https://api.github.com/users/KlaasH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KlaasH/subscriptions","organizations_url":"https://api.github.com/users/KlaasH/orgs","repos_url":"https://api.github.com/users/KlaasH/repos","events_url":"https://api.github.com/users/KlaasH/events{/privacy}","received_events_url":"https://api.github.com/users/KlaasH/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/azavea/tilegarden/pulls/13/commits","review_comments_url":"https://api.github.com/repos/azavea/tilegarden/pulls/13/comments","review_comment_url":"https://api.github.com/repos/azavea/tilegarden/pulls/comments{/number}","comments_url":"https://api.github.com/repos/azavea/tilegarden/issues/13/comments","statuses_url":"https://api.github.com/repos/azavea/tilegarden/statuses/3c584a81641cf819fdfa31974bdd6c2a010bcf2b","head":{"label":"azavea:leaflet-demo","ref":"leaflet-demo","sha":"3c584a81641cf819fdfa31974bdd6c2a010bcf2b","user":{"login":"azavea","id":595231,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5NTIzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/595231?v=4","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"repo":{"id":135959961,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU5NTk5NjE=","name":"tilegarden","full_name":"azavea/tilegarden","owner":{"login":"azavea","id":595231,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5NTIzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/595231?v=4","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/azavea/tilegarden","description":null,"fork":false,"url":"https://api.github.com/repos/azavea/tilegarden","forks_url":"https://api.github.com/repos/azavea/tilegarden/forks","keys_url":"https://api.github.com/repos/azavea/tilegarden/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azavea/tilegarden/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azavea/tilegarden/teams","hooks_url":"https://api.github.com/repos/azavea/tilegarden/hooks","issue_events_url":"https://api.github.com/repos/azavea/tilegarden/issues/events{/number}","events_url":"https://api.github.com/repos/azavea/tilegarden/events","assignees_url":"https://api.github.com/repos/azavea/tilegarden/assignees{/user}","branches_url":"https://api.github.com/repos/azavea/tilegarden/branches{/branch}","tags_url":"https://api.github.com/repos/azavea/tilegarden/tags","blobs_url":"https://api.github.com/repos/azavea/tilegarden/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azavea/tilegarden/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azavea/tilegarden/git/refs{/sha}","trees_url":"https://api.github.com/repos/azavea/tilegarden/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azavea/tilegarden/statuses/{sha}","languages_url":"https://api.github.com/repos/azavea/tilegarden/languages","stargazers_url":"https://api.github.com/repos/azavea/tilegarden/stargazers","contributors_url":"https://api.github.com/repos/azavea/tilegarden/contributors","subscribers_url":"https://api.github.com/repos/azavea/tilegarden/subscribers","subscription_url":"https://api.github.com/repos/azavea/tilegarden/subscription","commits_url":"https://api.github.com/repos/azavea/tilegarden/commits{/sha}","git_commits_url":"https://api.github.com/repos/azavea/tilegarden/git/commits{/sha}","comments_url":"https://api.github.com/repos/azavea/tilegarden/comments{/number}","issue_comment_url":"https://api.github.com/repos/azavea/tilegarden/issues/comments{/number}","contents_url":"https://api.github.com/repos/azavea/tilegarden/contents/{+path}","compare_url":"https://api.github.com/repos/azavea/tilegarden/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azavea/tilegarden/merges","archive_url":"https://api.github.com/repos/azavea/tilegarden/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azavea/tilegarden/downloads","issues_url":"https://api.github.com/repos/azavea/tilegarden/issues{/number}","pulls_url":"https://api.github.com/repos/azavea/tilegarden/pulls{/number}","milestones_url":"https://api.github.com/repos/azavea/tilegarden/milestones{/number}","notifications_url":"https://api.github.com/repos/azavea/tilegarden/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azavea/tilegarden/labels{/name}","releases_url":"https://api.github.com/repos/azavea/tilegarden/releases{/id}","deployments_url":"https://api.github.com/repos/azavea/tilegarden/deployments","created_at":"2018-06-04T02:21:44Z","updated_at":"2018-06-11T15:41:17Z","pushed_at":"2018-06-11T17:33:23Z","git_url":"git://github.com/azavea/tilegarden.git","ssh_url":"git@github.com:azavea/tilegarden.git","clone_url":"https://github.com/azavea/tilegarden.git","svn_url":"https://github.com/azavea/tilegarden","homepage":null,"size":20,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":0,"open_issues":10,"watchers":0,"default_branch":"develop"}},"base":{"label":"azavea:develop","ref":"develop","sha":"5c29b5f3f640979ef163a41781eafd934ad12eb2","user":{"login":"azavea","id":595231,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5NTIzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/595231?v=4","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"repo":{"id":135959961,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU5NTk5NjE=","name":"tilegarden","full_name":"azavea/tilegarden","owner":{"login":"azavea","id":595231,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5NTIzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/595231?v=4","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/azavea/tilegarden","description":null,"fork":false,"url":"https://api.github.com/repos/azavea/tilegarden","forks_url":"https://api.github.com/repos/azavea/tilegarden/forks","keys_url":"https://api.github.com/repos/azavea/tilegarden/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azavea/tilegarden/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azavea/tilegarden/teams","hooks_url":"https://api.github.com/repos/azavea/tilegarden/hooks","issue_events_url":"https://api.github.com/repos/azavea/tilegarden/issues/events{/number}","events_url":"https://api.github.com/repos/azavea/tilegarden/events","assignees_url":"https://api.github.com/repos/azavea/tilegarden/assignees{/user}","branches_url":"https://api.github.com/repos/azavea/tilegarden/branches{/branch}","tags_url":"https://api.github.com/repos/azavea/tilegarden/tags","blobs_url":"https://api.github.com/repos/azavea/tilegarden/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azavea/tilegarden/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azavea/tilegarden/git/refs{/sha}","trees_url":"https://api.github.com/repos/azavea/tilegarden/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azavea/tilegarden/statuses/{sha}","languages_url":"https://api.github.com/repos/azavea/tilegarden/languages","stargazers_url":"https://api.github.com/repos/azavea/tilegarden/stargazers","contributors_url":"https://api.github.com/repos/azavea/tilegarden/contributors","subscribers_url":"https://api.github.com/repos/azavea/tilegarden/subscribers","subscription_url":"https://api.github.com/repos/azavea/tilegarden/subscription","commits_url":"https://api.github.com/repos/azavea/tilegarden/commits{/sha}","git_commits_url":"https://api.github.com/repos/azavea/tilegarden/git/commits{/sha}","comments_url":"https://api.github.com/repos/azavea/tilegarden/comments{/number}","issue_comment_url":"https://api.github.com/repos/azavea/tilegarden/issues/comments{/number}","contents_url":"https://api.github.com/repos/azavea/tilegarden/contents/{+path}","compare_url":"https://api.github.com/repos/azavea/tilegarden/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azavea/tilegarden/merges","archive_url":"https://api.github.com/repos/azavea/tilegarden/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azavea/tilegarden/downloads","issues_url":"https://api.github.com/repos/azavea/tilegarden/issues{/number}","pulls_url":"https://api.github.com/repos/azavea/tilegarden/pulls{/number}","milestones_url":"https://api.github.com/repos/azavea/tilegarden/milestones{/number}","notifications_url":"https://api.github.com/repos/azavea/tilegarden/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azavea/tilegarden/labels{/name}","releases_url":"https://api.github.com/repos/azavea/tilegarden/releases{/id}","deployments_url":"https://api.github.com/repos/azavea/tilegarden/deployments","created_at":"2018-06-04T02:21:44Z","updated_at":"2018-06-11T15:41:17Z","pushed_at":"2018-06-11T17:33:23Z","git_url":"git://github.com/azavea/tilegarden.git","ssh_url":"git@github.com:azavea/tilegarden.git","clone_url":"https://github.com/azavea/tilegarden.git","svn_url":"https://github.com/azavea/tilegarden","homepage":null,"size":20,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":0,"open_issues":10,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/azavea/tilegarden/pulls/13"},"html":{"href":"https://github.com/azavea/tilegarden/pull/13"},"issue":{"href":"https://api.github.com/repos/azavea/tilegarden/issues/13"},"comments":{"href":"https://api.github.com/repos/azavea/tilegarden/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/azavea/tilegarden/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/azavea/tilegarden/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/azavea/tilegarden/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/azavea/tilegarden/statuses/3c584a81641cf819fdfa31974bdd6c2a010bcf2b"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"mattdelsordo"}}