{"action":"created","comment":{"url":"https://api.github.com/repos/google/personfinder/pulls/comments/39482449","id":39482449,"diff_hunk":"@@ -0,0 +1,46 @@\n+README\n+======\n+\n+This folder contains a Dockerfile and some utilities that simplify the creation of a Docker container for Personfinder development and testing.\n+\n+Steps to create the container\n+-----------------------------\n+\n+1. Setup the environment for Docker (see Docker's webpage)\n+2. From `personfinder/docker` folder, run\n+\n+    $ docker build -t <image-name> .\n+\n+    e.g.\n+\n+    $ docker build -t personfinder-image\n+\n+    This will take a while and will create the docker image.\n+\n+3. Create the container running\n+\n+    $ ./run-container.sh <image-name> [<container-name>]\n+\n+    e.g.\n+\n+    $ ./run-container.sh personfinder-image personfinder-container  # Container's name is optional\n+\n+    This will create and run the container image.\n+\n+4. Run the Personfinder local server and test it from host's web browser (https://<container-ip-address>:8000","path":"docker/README.md","position":30,"original_position":30,"commit_id":"a00446a26c644520f9bf742deda38787b98bbc5a","original_commit_id":"b6f6d7b7bd9004ee314689bc3b35ed2d00b027c3","user":{"login":"gimite","id":15363,"avatar_url":"https://avatars.githubusercontent.com/u/15363?v=3","gravatar_id":"","url":"https://api.github.com/users/gimite","html_url":"https://github.com/gimite","followers_url":"https://api.github.com/users/gimite/followers","following_url":"https://api.github.com/users/gimite/following{/other_user}","gists_url":"https://api.github.com/users/gimite/gists{/gist_id}","starred_url":"https://api.github.com/users/gimite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gimite/subscriptions","organizations_url":"https://api.github.com/users/gimite/orgs","repos_url":"https://api.github.com/users/gimite/repos","events_url":"https://api.github.com/users/gimite/events{/privacy}","received_events_url":"https://api.github.com/users/gimite/received_events","type":"User","site_admin":false},"body":"This doesn't work well with our corporate environment which has HTTP proxy. Is there a way to forward the port to a port in the host machine instead of accessing container-ip-address?","created_at":"2015-09-15T07:45:14Z","updated_at":"2015-09-15T07:45:14Z","html_url":"https://github.com/google/personfinder/pull/133#discussion_r39482449","pull_request_url":"https://api.github.com/repos/google/personfinder/pulls/133","_links":{"self":{"href":"https://api.github.com/repos/google/personfinder/pulls/comments/39482449"},"html":{"href":"https://github.com/google/personfinder/pull/133#discussion_r39482449"},"pull_request":{"href":"https://api.github.com/repos/google/personfinder/pulls/133"}}},"pull_request":{"url":"https://api.github.com/repos/google/personfinder/pulls/133","id":42949462,"html_url":"https://github.com/google/personfinder/pull/133","diff_url":"https://github.com/google/personfinder/pull/133.diff","patch_url":"https://github.com/google/personfinder/pull/133.patch","issue_url":"https://api.github.com/repos/google/personfinder/issues/133","number":133,"state":"open","locked":false,"title":"Automate Environment setup #78","user":{"login":"clobrano","id":2883614,"avatar_url":"https://avatars.githubusercontent.com/u/2883614?v=3","gravatar_id":"","url":"https://api.github.com/users/clobrano","html_url":"https://github.com/clobrano","followers_url":"https://api.github.com/users/clobrano/followers","following_url":"https://api.github.com/users/clobrano/following{/other_user}","gists_url":"https://api.github.com/users/clobrano/gists{/gist_id}","starred_url":"https://api.github.com/users/clobrano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clobrano/subscriptions","organizations_url":"https://api.github.com/users/clobrano/orgs","repos_url":"https://api.github.com/users/clobrano/repos","events_url":"https://api.github.com/users/clobrano/events{/privacy}","received_events_url":"https://api.github.com/users/clobrano/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nthis branch adds a *docker* folder to the project, containing all the files (and some utilities) to automatically create a Docker container to develop and test Personfinder on Docker\r\n\r\nplease let me know what you think about it\r\n\r\nBR,\r\nCarlo","created_at":"2015-08-20T16:25:32Z","updated_at":"2015-09-15T07:45:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"357257e45fae5fc5c862999ea29928eb8db4983e","assignee":{"login":"gimite","id":15363,"avatar_url":"https://avatars.githubusercontent.com/u/15363?v=3","gravatar_id":"","url":"https://api.github.com/users/gimite","html_url":"https://github.com/gimite","followers_url":"https://api.github.com/users/gimite/followers","following_url":"https://api.github.com/users/gimite/following{/other_user}","gists_url":"https://api.github.com/users/gimite/gists{/gist_id}","starred_url":"https://api.github.com/users/gimite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gimite/subscriptions","organizations_url":"https://api.github.com/users/gimite/orgs","repos_url":"https://api.github.com/users/gimite/repos","events_url":"https://api.github.com/users/gimite/events{/privacy}","received_events_url":"https://api.github.com/users/gimite/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/google/personfinder/pulls/133/commits","review_comments_url":"https://api.github.com/repos/google/personfinder/pulls/133/comments","review_comment_url":"https://api.github.com/repos/google/personfinder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/personfinder/issues/133/comments","statuses_url":"https://api.github.com/repos/google/personfinder/statuses/a00446a26c644520f9bf742deda38787b98bbc5a","head":{"label":"clobrano:clobrano-automate-environment-setup","ref":"clobrano-automate-environment-setup","sha":"a00446a26c644520f9bf742deda38787b98bbc5a","user":{"login":"clobrano","id":2883614,"avatar_url":"https://avatars.githubusercontent.com/u/2883614?v=3","gravatar_id":"","url":"https://api.github.com/users/clobrano","html_url":"https://github.com/clobrano","followers_url":"https://api.github.com/users/clobrano/followers","following_url":"https://api.github.com/users/clobrano/following{/other_user}","gists_url":"https://api.github.com/users/clobrano/gists{/gist_id}","starred_url":"https://api.github.com/users/clobrano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clobrano/subscriptions","organizations_url":"https://api.github.com/users/clobrano/orgs","repos_url":"https://api.github.com/users/clobrano/repos","events_url":"https://api.github.com/users/clobrano/events{/privacy}","received_events_url":"https://api.github.com/users/clobrano/received_events","type":"User","site_admin":false},"repo":{"id":41062335,"name":"personfinder","full_name":"clobrano/personfinder","owner":{"login":"clobrano","id":2883614,"avatar_url":"https://avatars.githubusercontent.com/u/2883614?v=3","gravatar_id":"","url":"https://api.github.com/users/clobrano","html_url":"https://github.com/clobrano","followers_url":"https://api.github.com/users/clobrano/followers","following_url":"https://api.github.com/users/clobrano/following{/other_user}","gists_url":"https://api.github.com/users/clobrano/gists{/gist_id}","starred_url":"https://api.github.com/users/clobrano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clobrano/subscriptions","organizations_url":"https://api.github.com/users/clobrano/orgs","repos_url":"https://api.github.com/users/clobrano/repos","events_url":"https://api.github.com/users/clobrano/events{/privacy}","received_events_url":"https://api.github.com/users/clobrano/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clobrano/personfinder","description":"Person Finder is a searchable missing person database written in Python and hosted on App Engine.","fork":true,"url":"https://api.github.com/repos/clobrano/personfinder","forks_url":"https://api.github.com/repos/clobrano/personfinder/forks","keys_url":"https://api.github.com/repos/clobrano/personfinder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clobrano/personfinder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clobrano/personfinder/teams","hooks_url":"https://api.github.com/repos/clobrano/personfinder/hooks","issue_events_url":"https://api.github.com/repos/clobrano/personfinder/issues/events{/number}","events_url":"https://api.github.com/repos/clobrano/personfinder/events","assignees_url":"https://api.github.com/repos/clobrano/personfinder/assignees{/user}","branches_url":"https://api.github.com/repos/clobrano/personfinder/branches{/branch}","tags_url":"https://api.github.com/repos/clobrano/personfinder/tags","blobs_url":"https://api.github.com/repos/clobrano/personfinder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clobrano/personfinder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clobrano/personfinder/git/refs{/sha}","trees_url":"https://api.github.com/repos/clobrano/personfinder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clobrano/personfinder/statuses/{sha}","languages_url":"https://api.github.com/repos/clobrano/personfinder/languages","stargazers_url":"https://api.github.com/repos/clobrano/personfinder/stargazers","contributors_url":"https://api.github.com/repos/clobrano/personfinder/contributors","subscribers_url":"https://api.github.com/repos/clobrano/personfinder/subscribers","subscription_url":"https://api.github.com/repos/clobrano/personfinder/subscription","commits_url":"https://api.github.com/repos/clobrano/personfinder/commits{/sha}","git_commits_url":"https://api.github.com/repos/clobrano/personfinder/git/commits{/sha}","comments_url":"https://api.github.com/repos/clobrano/personfinder/comments{/number}","issue_comment_url":"https://api.github.com/repos/clobrano/personfinder/issues/comments{/number}","contents_url":"https://api.github.com/repos/clobrano/personfinder/contents/{+path}","compare_url":"https://api.github.com/repos/clobrano/personfinder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clobrano/personfinder/merges","archive_url":"https://api.github.com/repos/clobrano/personfinder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clobrano/personfinder/downloads","issues_url":"https://api.github.com/repos/clobrano/personfinder/issues{/number}","pulls_url":"https://api.github.com/repos/clobrano/personfinder/pulls{/number}","milestones_url":"https://api.github.com/repos/clobrano/personfinder/milestones{/number}","notifications_url":"https://api.github.com/repos/clobrano/personfinder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clobrano/personfinder/labels{/name}","releases_url":"https://api.github.com/repos/clobrano/personfinder/releases{/id}","created_at":"2015-08-19T22:15:48Z","updated_at":"2015-08-19T22:15:50Z","pushed_at":"2015-09-15T07:40:56Z","git_url":"git://github.com/clobrano/personfinder.git","ssh_url":"git@github.com:clobrano/personfinder.git","clone_url":"https://github.com/clobrano/personfinder.git","svn_url":"https://github.com/clobrano/personfinder","homepage":"https://google.org/personfinder","size":235438,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"4375e4dadd49438d4473029040a909c7aa95d836","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":25369506,"name":"personfinder","full_name":"google/personfinder","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/personfinder","description":"Person Finder is a searchable missing person database written in Python and hosted on App Engine.","fork":false,"url":"https://api.github.com/repos/google/personfinder","forks_url":"https://api.github.com/repos/google/personfinder/forks","keys_url":"https://api.github.com/repos/google/personfinder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/personfinder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/personfinder/teams","hooks_url":"https://api.github.com/repos/google/personfinder/hooks","issue_events_url":"https://api.github.com/repos/google/personfinder/issues/events{/number}","events_url":"https://api.github.com/repos/google/personfinder/events","assignees_url":"https://api.github.com/repos/google/personfinder/assignees{/user}","branches_url":"https://api.github.com/repos/google/personfinder/branches{/branch}","tags_url":"https://api.github.com/repos/google/personfinder/tags","blobs_url":"https://api.github.com/repos/google/personfinder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/personfinder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/personfinder/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/personfinder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/personfinder/statuses/{sha}","languages_url":"https://api.github.com/repos/google/personfinder/languages","stargazers_url":"https://api.github.com/repos/google/personfinder/stargazers","contributors_url":"https://api.github.com/repos/google/personfinder/contributors","subscribers_url":"https://api.github.com/repos/google/personfinder/subscribers","subscription_url":"https://api.github.com/repos/google/personfinder/subscription","commits_url":"https://api.github.com/repos/google/personfinder/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/personfinder/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/personfinder/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/personfinder/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/personfinder/contents/{+path}","compare_url":"https://api.github.com/repos/google/personfinder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/personfinder/merges","archive_url":"https://api.github.com/repos/google/personfinder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/personfinder/downloads","issues_url":"https://api.github.com/repos/google/personfinder/issues{/number}","pulls_url":"https://api.github.com/repos/google/personfinder/pulls{/number}","milestones_url":"https://api.github.com/repos/google/personfinder/milestones{/number}","notifications_url":"https://api.github.com/repos/google/personfinder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/personfinder/labels{/name}","releases_url":"https://api.github.com/repos/google/personfinder/releases{/id}","created_at":"2014-10-17T17:36:25Z","updated_at":"2015-09-14T09:02:02Z","pushed_at":"2015-09-15T07:40:56Z","git_url":"git://github.com/google/personfinder.git","ssh_url":"git@github.com:google/personfinder.git","clone_url":"https://github.com/google/personfinder.git","svn_url":"https://github.com/google/personfinder","homepage":"https://google.org/personfinder","size":243643,"stargazers_count":107,"watchers_count":107,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":80,"forks":50,"open_issues":80,"watchers":107,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/personfinder/pulls/133"},"html":{"href":"https://github.com/google/personfinder/pull/133"},"issue":{"href":"https://api.github.com/repos/google/personfinder/issues/133"},"comments":{"href":"https://api.github.com/repos/google/personfinder/issues/133/comments"},"review_comments":{"href":"https://api.github.com/repos/google/personfinder/pulls/133/comments"},"review_comment":{"href":"https://api.github.com/repos/google/personfinder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/personfinder/pulls/133/commits"},"statuses":{"href":"https://api.github.com/repos/google/personfinder/statuses/a00446a26c644520f9bf742deda38787b98bbc5a"}}}}