{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/UCLA-TBP/tbpsite/pulls/9","id":221992597,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxOTkyNTk3","html_url":"https://github.com/UCLA-TBP/tbpsite/pull/9","diff_url":"https://github.com/UCLA-TBP/tbpsite/pull/9.diff","patch_url":"https://github.com/UCLA-TBP/tbpsite/pull/9.patch","issue_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/issues/9","number":9,"state":"open","locked":false,"title":"Set up support for dev/prod separation","user":{"login":"vrcheng","id":15066791,"node_id":"MDQ6VXNlcjE1MDY2Nzkx","avatar_url":"https://avatars2.githubusercontent.com/u/15066791?v=4","gravatar_id":"","url":"https://api.github.com/users/vrcheng","html_url":"https://github.com/vrcheng","followers_url":"https://api.github.com/users/vrcheng/followers","following_url":"https://api.github.com/users/vrcheng/following{/other_user}","gists_url":"https://api.github.com/users/vrcheng/gists{/gist_id}","starred_url":"https://api.github.com/users/vrcheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrcheng/subscriptions","organizations_url":"https://api.github.com/users/vrcheng/orgs","repos_url":"https://api.github.com/users/vrcheng/repos","events_url":"https://api.github.com/users/vrcheng/events{/privacy}","received_events_url":"https://api.github.com/users/vrcheng/received_events","type":"User","site_admin":false},"body":"## Description\r\nSetting up support for local development without impacting prod. Created separate prod and dev profiles for nginx and docker-compose. \r\n\r\nNote: Prod currently expects nginx.conf to be mounted from nginx.conf, and this pull request changes it to prod.conf. Transferring these changes onto prod will require reconfiguration of the nginx container volumes in prod or rerunning the relevant docker-compose commands (mysqldump first if doing the latter).\r\n\r\n## Pls do \r\n- [x] Tested and working\r\n\r\n## Test plan\r\nFollow the \"Setting up for Local Development\" instructions and make sure the website functions as expected. \r\n","created_at":"2018-10-11T03:05:39Z","updated_at":"2018-10-11T03:05:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/pulls/9/commits","review_comments_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/pulls/9/comments","review_comment_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/issues/9/comments","statuses_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/statuses/4b91d7f16047b0093c68d3cbc9b516f96e9d18a7","head":{"label":"UCLA-TBP:localdev","ref":"localdev","sha":"4b91d7f16047b0093c68d3cbc9b516f96e9d18a7","user":{"login":"UCLA-TBP","id":24628015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NjI4MDE1","avatar_url":"https://avatars0.githubusercontent.com/u/24628015?v=4","gravatar_id":"","url":"https://api.github.com/users/UCLA-TBP","html_url":"https://github.com/UCLA-TBP","followers_url":"https://api.github.com/users/UCLA-TBP/followers","following_url":"https://api.github.com/users/UCLA-TBP/following{/other_user}","gists_url":"https://api.github.com/users/UCLA-TBP/gists{/gist_id}","starred_url":"https://api.github.com/users/UCLA-TBP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UCLA-TBP/subscriptions","organizations_url":"https://api.github.com/users/UCLA-TBP/orgs","repos_url":"https://api.github.com/users/UCLA-TBP/repos","events_url":"https://api.github.com/users/UCLA-TBP/events{/privacy}","received_events_url":"https://api.github.com/users/UCLA-TBP/received_events","type":"Organization","site_admin":false},"repo":{"id":76750515,"node_id":"MDEwOlJlcG9zaXRvcnk3Njc1MDUxNQ==","name":"tbpsite","full_name":"UCLA-TBP/tbpsite","private":false,"owner":{"login":"UCLA-TBP","id":24628015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NjI4MDE1","avatar_url":"https://avatars0.githubusercontent.com/u/24628015?v=4","gravatar_id":"","url":"https://api.github.com/users/UCLA-TBP","html_url":"https://github.com/UCLA-TBP","followers_url":"https://api.github.com/users/UCLA-TBP/followers","following_url":"https://api.github.com/users/UCLA-TBP/following{/other_user}","gists_url":"https://api.github.com/users/UCLA-TBP/gists{/gist_id}","starred_url":"https://api.github.com/users/UCLA-TBP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UCLA-TBP/subscriptions","organizations_url":"https://api.github.com/users/UCLA-TBP/orgs","repos_url":"https://api.github.com/users/UCLA-TBP/repos","events_url":"https://api.github.com/users/UCLA-TBP/events{/privacy}","received_events_url":"https://api.github.com/users/UCLA-TBP/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/UCLA-TBP/tbpsite","description":"Repo for TBP Website","fork":false,"url":"https://api.github.com/repos/UCLA-TBP/tbpsite","forks_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/forks","keys_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/teams","hooks_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/hooks","issue_events_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/issues/events{/number}","events_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/events","assignees_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/assignees{/user}","branches_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/branches{/branch}","tags_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/tags","blobs_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/git/refs{/sha}","trees_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/statuses/{sha}","languages_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/languages","stargazers_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/stargazers","contributors_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/contributors","subscribers_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/subscribers","subscription_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/subscription","commits_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/commits{/sha}","git_commits_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/git/commits{/sha}","comments_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/comments{/number}","issue_comment_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/issues/comments{/number}","contents_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/contents/{+path}","compare_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/merges","archive_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/downloads","issues_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/issues{/number}","pulls_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/pulls{/number}","milestones_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/milestones{/number}","notifications_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/labels{/name}","releases_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/releases{/id}","deployments_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/deployments","created_at":"2016-12-17T22:31:37Z","updated_at":"2018-06-02T05:22:25Z","pushed_at":"2018-10-10T05:51:43Z","git_url":"git://github.com/UCLA-TBP/tbpsite.git","ssh_url":"git@github.com:UCLA-TBP/tbpsite.git","clone_url":"https://github.com/UCLA-TBP/tbpsite.git","svn_url":"https://github.com/UCLA-TBP/tbpsite","homepage":"https://tbp.seas.ucla.edu","size":30750,"stargazers_count":0,"watchers_count":0,"language":"Python","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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"UCLA-TBP:master","ref":"master","sha":"4b7ac2f4e9789b758f849491c8dcb1538ced596d","user":{"login":"UCLA-TBP","id":24628015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NjI4MDE1","avatar_url":"https://avatars0.githubusercontent.com/u/24628015?v=4","gravatar_id":"","url":"https://api.github.com/users/UCLA-TBP","html_url":"https://github.com/UCLA-TBP","followers_url":"https://api.github.com/users/UCLA-TBP/followers","following_url":"https://api.github.com/users/UCLA-TBP/following{/other_user}","gists_url":"https://api.github.com/users/UCLA-TBP/gists{/gist_id}","starred_url":"https://api.github.com/users/UCLA-TBP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UCLA-TBP/subscriptions","organizations_url":"https://api.github.com/users/UCLA-TBP/orgs","repos_url":"https://api.github.com/users/UCLA-TBP/repos","events_url":"https://api.github.com/users/UCLA-TBP/events{/privacy}","received_events_url":"https://api.github.com/users/UCLA-TBP/received_events","type":"Organization","site_admin":false},"repo":{"id":76750515,"node_id":"MDEwOlJlcG9zaXRvcnk3Njc1MDUxNQ==","name":"tbpsite","full_name":"UCLA-TBP/tbpsite","private":false,"owner":{"login":"UCLA-TBP","id":24628015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NjI4MDE1","avatar_url":"https://avatars0.githubusercontent.com/u/24628015?v=4","gravatar_id":"","url":"https://api.github.com/users/UCLA-TBP","html_url":"https://github.com/UCLA-TBP","followers_url":"https://api.github.com/users/UCLA-TBP/followers","following_url":"https://api.github.com/users/UCLA-TBP/following{/other_user}","gists_url":"https://api.github.com/users/UCLA-TBP/gists{/gist_id}","starred_url":"https://api.github.com/users/UCLA-TBP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UCLA-TBP/subscriptions","organizations_url":"https://api.github.com/users/UCLA-TBP/orgs","repos_url":"https://api.github.com/users/UCLA-TBP/repos","events_url":"https://api.github.com/users/UCLA-TBP/events{/privacy}","received_events_url":"https://api.github.com/users/UCLA-TBP/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/UCLA-TBP/tbpsite","description":"Repo for TBP Website","fork":false,"url":"https://api.github.com/repos/UCLA-TBP/tbpsite","forks_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/forks","keys_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/teams","hooks_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/hooks","issue_events_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/issues/events{/number}","events_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/events","assignees_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/assignees{/user}","branches_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/branches{/branch}","tags_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/tags","blobs_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/git/refs{/sha}","trees_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/statuses/{sha}","languages_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/languages","stargazers_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/stargazers","contributors_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/contributors","subscribers_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/subscribers","subscription_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/subscription","commits_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/commits{/sha}","git_commits_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/git/commits{/sha}","comments_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/comments{/number}","issue_comment_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/issues/comments{/number}","contents_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/contents/{+path}","compare_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/merges","archive_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/downloads","issues_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/issues{/number}","pulls_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/pulls{/number}","milestones_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/milestones{/number}","notifications_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/labels{/name}","releases_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/releases{/id}","deployments_url":"https://api.github.com/repos/UCLA-TBP/tbpsite/deployments","created_at":"2016-12-17T22:31:37Z","updated_at":"2018-06-02T05:22:25Z","pushed_at":"2018-10-10T05:51:43Z","git_url":"git://github.com/UCLA-TBP/tbpsite.git","ssh_url":"git@github.com:UCLA-TBP/tbpsite.git","clone_url":"https://github.com/UCLA-TBP/tbpsite.git","svn_url":"https://github.com/UCLA-TBP/tbpsite","homepage":"https://tbp.seas.ucla.edu","size":30750,"stargazers_count":0,"watchers_count":0,"language":"Python","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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UCLA-TBP/tbpsite/pulls/9"},"html":{"href":"https://github.com/UCLA-TBP/tbpsite/pull/9"},"issue":{"href":"https://api.github.com/repos/UCLA-TBP/tbpsite/issues/9"},"comments":{"href":"https://api.github.com/repos/UCLA-TBP/tbpsite/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/UCLA-TBP/tbpsite/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/UCLA-TBP/tbpsite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UCLA-TBP/tbpsite/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/UCLA-TBP/tbpsite/statuses/4b91d7f16047b0093c68d3cbc9b516f96e9d18a7"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":96,"deletions":12,"changed_files":8}}
{"actor":{"display_login":"vrcheng"}}