{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/idea-town/pulls/comments/42437355","id":42437355,"diff_hunk":"@@ -0,0 +1,36 @@\n+#!/bin/bash\n+\n+SERVER_NAME=${1:-docker.io/lmorchard/idea-town:latest}","path":"bin/build-prod.sh","position":3,"original_position":3,"commit_id":"96d4f1f310c65e6b8931c204974b840a3bdd839f","original_commit_id":"96d4f1f310c65e6b8931c204974b840a3bdd839f","user":{"login":"6a68","id":96396,"avatar_url":"https://avatars.githubusercontent.com/u/96396?v=3","gravatar_id":"","url":"https://api.github.com/users/6a68","html_url":"https://github.com/6a68","followers_url":"https://api.github.com/users/6a68/followers","following_url":"https://api.github.com/users/6a68/following{/other_user}","gists_url":"https://api.github.com/users/6a68/gists{/gist_id}","starred_url":"https://api.github.com/users/6a68/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/6a68/subscriptions","organizations_url":"https://api.github.com/users/6a68/orgs","repos_url":"https://api.github.com/users/6a68/repos","events_url":"https://api.github.com/users/6a68/events{/privacy}","received_events_url":"https://api.github.com/users/6a68/received_events","type":"User","site_admin":false},"body":"It'd probably be good to use a different default server name, or just spit out a help message and halt if one isn't set","created_at":"2015-10-19T23:04:22Z","updated_at":"2015-10-19T23:04:22Z","html_url":"https://github.com/mozilla/idea-town/pull/143#discussion_r42437355","pull_request_url":"https://api.github.com/repos/mozilla/idea-town/pulls/143","_links":{"self":{"href":"https://api.github.com/repos/mozilla/idea-town/pulls/comments/42437355"},"html":{"href":"https://github.com/mozilla/idea-town/pull/143#discussion_r42437355"},"pull_request":{"href":"https://api.github.com/repos/mozilla/idea-town/pulls/143"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/idea-town/pulls/143","id":47808021,"html_url":"https://github.com/mozilla/idea-town/pull/143","diff_url":"https://github.com/mozilla/idea-town/pull/143.diff","patch_url":"https://github.com/mozilla/idea-town/pull/143.patch","issue_url":"https://api.github.com/repos/mozilla/idea-town/issues/143","number":143,"state":"open","locked":false,"title":"Support for deployment to Elastic Beanstalk","user":{"login":"lmorchard","id":21687,"avatar_url":"https://avatars.githubusercontent.com/u/21687?v=3","gravatar_id":"","url":"https://api.github.com/users/lmorchard","html_url":"https://github.com/lmorchard","followers_url":"https://api.github.com/users/lmorchard/followers","following_url":"https://api.github.com/users/lmorchard/following{/other_user}","gists_url":"https://api.github.com/users/lmorchard/gists{/gist_id}","starred_url":"https://api.github.com/users/lmorchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmorchard/subscriptions","organizations_url":"https://api.github.com/users/lmorchard/orgs","repos_url":"https://api.github.com/users/lmorchard/repos","events_url":"https://api.github.com/users/lmorchard/events{/privacy}","received_events_url":"https://api.github.com/users/lmorchard/received_events","type":"User","site_admin":false},"body":"- bin/build-prod.sh: build frontend & server, push to Docker Hub, build\r\n  EB zip bundle to deploy from Docker Hub.\r\n\r\n- .ebextensions/00-environment.config: initial set of EB env vars\r\n\r\n- Management commands to help bootstrap the environment\r\n\r\n  - createinitialsuperuser: create the first admin user from settings\r\n\r\n  - updatefxaprovider: ensure allauth provider for FxA matches settings\r\n\r\n- initial_data_dev.json: Remove admin user & FxA provider data, use the\r\n  new management commands like prod\r\n\r\n- Dockerfile simplified for minimal server build\r\n\r\n- Dockerfile-frontend-build produces a utility container to build\r\n  frontend assets with node + Gulp\r\n\r\n- Use Amazon RDS database settings when available\r\n\r\n- Move hardcoded Datadog credentials into env vars\r\n\r\n- Make AWS credentials mandatory when using S3 storage\r\n\r\n- .editorconfig tweak to use 2-space indentation in *.{yml,config}","created_at":"2015-10-15T16:12:15Z","updated_at":"2015-10-19T23:04:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d19691ad2297f84dbfefc7ebc45afbfc9d09774","assignee":{"login":"6a68","id":96396,"avatar_url":"https://avatars.githubusercontent.com/u/96396?v=3","gravatar_id":"","url":"https://api.github.com/users/6a68","html_url":"https://github.com/6a68","followers_url":"https://api.github.com/users/6a68/followers","following_url":"https://api.github.com/users/6a68/following{/other_user}","gists_url":"https://api.github.com/users/6a68/gists{/gist_id}","starred_url":"https://api.github.com/users/6a68/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/6a68/subscriptions","organizations_url":"https://api.github.com/users/6a68/orgs","repos_url":"https://api.github.com/users/6a68/repos","events_url":"https://api.github.com/users/6a68/events{/privacy}","received_events_url":"https://api.github.com/users/6a68/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/idea-town/pulls/143/commits","review_comments_url":"https://api.github.com/repos/mozilla/idea-town/pulls/143/comments","review_comment_url":"https://api.github.com/repos/mozilla/idea-town/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/idea-town/issues/143/comments","statuses_url":"https://api.github.com/repos/mozilla/idea-town/statuses/96d4f1f310c65e6b8931c204974b840a3bdd839f","head":{"label":"lmorchard:up-the-beanstalk","ref":"up-the-beanstalk","sha":"96d4f1f310c65e6b8931c204974b840a3bdd839f","user":{"login":"lmorchard","id":21687,"avatar_url":"https://avatars.githubusercontent.com/u/21687?v=3","gravatar_id":"","url":"https://api.github.com/users/lmorchard","html_url":"https://github.com/lmorchard","followers_url":"https://api.github.com/users/lmorchard/followers","following_url":"https://api.github.com/users/lmorchard/following{/other_user}","gists_url":"https://api.github.com/users/lmorchard/gists{/gist_id}","starred_url":"https://api.github.com/users/lmorchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmorchard/subscriptions","organizations_url":"https://api.github.com/users/lmorchard/orgs","repos_url":"https://api.github.com/users/lmorchard/repos","events_url":"https://api.github.com/users/lmorchard/events{/privacy}","received_events_url":"https://api.github.com/users/lmorchard/received_events","type":"User","site_admin":false},"repo":{"id":40666253,"name":"idea-town","full_name":"lmorchard/idea-town","owner":{"login":"lmorchard","id":21687,"avatar_url":"https://avatars.githubusercontent.com/u/21687?v=3","gravatar_id":"","url":"https://api.github.com/users/lmorchard","html_url":"https://github.com/lmorchard","followers_url":"https://api.github.com/users/lmorchard/followers","following_url":"https://api.github.com/users/lmorchard/following{/other_user}","gists_url":"https://api.github.com/users/lmorchard/gists{/gist_id}","starred_url":"https://api.github.com/users/lmorchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmorchard/subscriptions","organizations_url":"https://api.github.com/users/lmorchard/orgs","repos_url":"https://api.github.com/users/lmorchard/repos","events_url":"https://api.github.com/users/lmorchard/events{/privacy}","received_events_url":"https://api.github.com/users/lmorchard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lmorchard/idea-town","description":"yay all the ideas","fork":true,"url":"https://api.github.com/repos/lmorchard/idea-town","forks_url":"https://api.github.com/repos/lmorchard/idea-town/forks","keys_url":"https://api.github.com/repos/lmorchard/idea-town/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lmorchard/idea-town/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lmorchard/idea-town/teams","hooks_url":"https://api.github.com/repos/lmorchard/idea-town/hooks","issue_events_url":"https://api.github.com/repos/lmorchard/idea-town/issues/events{/number}","events_url":"https://api.github.com/repos/lmorchard/idea-town/events","assignees_url":"https://api.github.com/repos/lmorchard/idea-town/assignees{/user}","branches_url":"https://api.github.com/repos/lmorchard/idea-town/branches{/branch}","tags_url":"https://api.github.com/repos/lmorchard/idea-town/tags","blobs_url":"https://api.github.com/repos/lmorchard/idea-town/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lmorchard/idea-town/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lmorchard/idea-town/git/refs{/sha}","trees_url":"https://api.github.com/repos/lmorchard/idea-town/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lmorchard/idea-town/statuses/{sha}","languages_url":"https://api.github.com/repos/lmorchard/idea-town/languages","stargazers_url":"https://api.github.com/repos/lmorchard/idea-town/stargazers","contributors_url":"https://api.github.com/repos/lmorchard/idea-town/contributors","subscribers_url":"https://api.github.com/repos/lmorchard/idea-town/subscribers","subscription_url":"https://api.github.com/repos/lmorchard/idea-town/subscription","commits_url":"https://api.github.com/repos/lmorchard/idea-town/commits{/sha}","git_commits_url":"https://api.github.com/repos/lmorchard/idea-town/git/commits{/sha}","comments_url":"https://api.github.com/repos/lmorchard/idea-town/comments{/number}","issue_comment_url":"https://api.github.com/repos/lmorchard/idea-town/issues/comments{/number}","contents_url":"https://api.github.com/repos/lmorchard/idea-town/contents/{+path}","compare_url":"https://api.github.com/repos/lmorchard/idea-town/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lmorchard/idea-town/merges","archive_url":"https://api.github.com/repos/lmorchard/idea-town/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lmorchard/idea-town/downloads","issues_url":"https://api.github.com/repos/lmorchard/idea-town/issues{/number}","pulls_url":"https://api.github.com/repos/lmorchard/idea-town/pulls{/number}","milestones_url":"https://api.github.com/repos/lmorchard/idea-town/milestones{/number}","notifications_url":"https://api.github.com/repos/lmorchard/idea-town/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lmorchard/idea-town/labels{/name}","releases_url":"https://api.github.com/repos/lmorchard/idea-town/releases{/id}","created_at":"2015-08-13T15:26:02Z","updated_at":"2015-09-16T17:57:36Z","pushed_at":"2015-10-16T20:06:59Z","git_url":"git://github.com/lmorchard/idea-town.git","ssh_url":"git@github.com:lmorchard/idea-town.git","clone_url":"https://github.com/lmorchard/idea-town.git","svn_url":"https://github.com/lmorchard/idea-town","homepage":null,"size":1327,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"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":"mozilla:master","ref":"master","sha":"4c5e24075fdcfd50a18c649d2b3811330f56d04d","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":40625180,"name":"idea-town","full_name":"mozilla/idea-town","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/idea-town","description":"Idea Town is a platform for performing controlled tests of new product concepts in Firefox","fork":false,"url":"https://api.github.com/repos/mozilla/idea-town","forks_url":"https://api.github.com/repos/mozilla/idea-town/forks","keys_url":"https://api.github.com/repos/mozilla/idea-town/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/idea-town/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/idea-town/teams","hooks_url":"https://api.github.com/repos/mozilla/idea-town/hooks","issue_events_url":"https://api.github.com/repos/mozilla/idea-town/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/idea-town/events","assignees_url":"https://api.github.com/repos/mozilla/idea-town/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/idea-town/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/idea-town/tags","blobs_url":"https://api.github.com/repos/mozilla/idea-town/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/idea-town/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/idea-town/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/idea-town/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/idea-town/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/idea-town/languages","stargazers_url":"https://api.github.com/repos/mozilla/idea-town/stargazers","contributors_url":"https://api.github.com/repos/mozilla/idea-town/contributors","subscribers_url":"https://api.github.com/repos/mozilla/idea-town/subscribers","subscription_url":"https://api.github.com/repos/mozilla/idea-town/subscription","commits_url":"https://api.github.com/repos/mozilla/idea-town/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/idea-town/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/idea-town/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/idea-town/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/idea-town/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/idea-town/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/idea-town/merges","archive_url":"https://api.github.com/repos/mozilla/idea-town/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/idea-town/downloads","issues_url":"https://api.github.com/repos/mozilla/idea-town/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/idea-town/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/idea-town/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/idea-town/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/idea-town/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/idea-town/releases{/id}","created_at":"2015-08-12T21:27:27Z","updated_at":"2015-09-24T22:02:35Z","pushed_at":"2015-10-19T22:41:09Z","git_url":"git://github.com/mozilla/idea-town.git","ssh_url":"git@github.com:mozilla/idea-town.git","clone_url":"https://github.com/mozilla/idea-town.git","svn_url":"https://github.com/mozilla/idea-town","homepage":"https://wiki.mozilla.org/Idea_Town","size":6344,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":45,"forks":7,"open_issues":45,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/idea-town/pulls/143"},"html":{"href":"https://github.com/mozilla/idea-town/pull/143"},"issue":{"href":"https://api.github.com/repos/mozilla/idea-town/issues/143"},"comments":{"href":"https://api.github.com/repos/mozilla/idea-town/issues/143/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/idea-town/pulls/143/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/idea-town/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/idea-town/pulls/143/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/idea-town/statuses/96d4f1f310c65e6b8931c204974b840a3bdd839f"}}}}