{"action":"created","comment":{"url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/pulls/comments/85435587","pull_request_review_id":6153507,"id":85435587,"diff_hunk":"@@ -1,2 +1,11 @@\n-REACT_APP_EGGHEAD_BASE_URL=https://egghead.io/api/v1\n-REACT_APP_EGGHEAD_JWT=YOUR_JWT_TOKEN_GOES_HERE\n\\ No newline at end of file\n+# FAKE\n+REACT_APP_EGGHEAD_BASE_URL=http://localhost:4000/api/v1\n+REACT_APP_EGGHEAD_JWT=null\n+\n+# DEV\n+# REACT_APP_EGGHEAD_BASE_URL=http://localhost:5000/api/v1\n+# REACT_APP_EGGHEAD_JWT=YOUR_JWT_TOKEN_GOES_HERE\n+\n+# PROD\n+# REACT_APP_EGGHEAD_BASE_URL=https://egghead.io/api/v1\n+# REACT_APP_EGGHEAD_JWT=YOUR_JWT_TOKEN_GOES_HERE","path":".env_template","position":14,"original_position":14,"commit_id":"5ddb233c0f19297d5a3730b6163e72a12ff03a6e","original_commit_id":"5ddb233c0f19297d5a3730b6163e72a12ff03a6e","user":{"login":"trevordmiller","id":5497885,"avatar_url":"https://avatars.githubusercontent.com/u/5497885?v=3","gravatar_id":"","url":"https://api.github.com/users/trevordmiller","html_url":"https://github.com/trevordmiller","followers_url":"https://api.github.com/users/trevordmiller/followers","following_url":"https://api.github.com/users/trevordmiller/following{/other_user}","gists_url":"https://api.github.com/users/trevordmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/trevordmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevordmiller/subscriptions","organizations_url":"https://api.github.com/users/trevordmiller/orgs","repos_url":"https://api.github.com/users/trevordmiller/repos","events_url":"https://api.github.com/users/trevordmiller/events{/privacy}","received_events_url":"https://api.github.com/users/trevordmiller/received_events","type":"User","site_admin":false},"body":"I would like to automate environment selection with a flag passed to the `yarn start` script instead of commenting out / manually replacing these values","created_at":"2016-10-27T21:53:37Z","updated_at":"2016-10-27T21:53:37Z","html_url":"https://github.com/eggheadio/egghead-instructor-center/pull/14#discussion_r85435587","pull_request_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/eggheadio/egghead-instructor-center/pulls/comments/85435587"},"html":{"href":"https://github.com/eggheadio/egghead-instructor-center/pull/14#discussion_r85435587"},"pull_request":{"href":"https://api.github.com/repos/eggheadio/egghead-instructor-center/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/pulls/14","id":91287543,"html_url":"https://github.com/eggheadio/egghead-instructor-center/pull/14","diff_url":"https://github.com/eggheadio/egghead-instructor-center/pull/14.diff","patch_url":"https://github.com/eggheadio/egghead-instructor-center/pull/14.patch","issue_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/issues/14","number":14,"state":"closed","locked":false,"title":"Add fake environment for mock APIs","user":{"login":"trevordmiller","id":5497885,"avatar_url":"https://avatars.githubusercontent.com/u/5497885?v=3","gravatar_id":"","url":"https://api.github.com/users/trevordmiller","html_url":"https://github.com/trevordmiller","followers_url":"https://api.github.com/users/trevordmiller/followers","following_url":"https://api.github.com/users/trevordmiller/following{/other_user}","gists_url":"https://api.github.com/users/trevordmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/trevordmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevordmiller/subscriptions","organizations_url":"https://api.github.com/users/trevordmiller/orgs","repos_url":"https://api.github.com/users/trevordmiller/repos","events_url":"https://api.github.com/users/trevordmiller/events{/privacy}","received_events_url":"https://api.github.com/users/trevordmiller/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-27T21:51:53Z","updated_at":"2016-10-27T21:53:37Z","closed_at":"2016-10-27T21:52:39Z","merged_at":"2016-10-27T21:52:39Z","merge_commit_sha":"7130eeadb4070001176283e9796eca66a238a90a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/pulls/14/commits","review_comments_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/pulls/14/comments","review_comment_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/issues/14/comments","statuses_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/statuses/5ddb233c0f19297d5a3730b6163e72a12ff03a6e","head":{"label":"eggheadio:mock-server","ref":"mock-server","sha":"5ddb233c0f19297d5a3730b6163e72a12ff03a6e","user":{"login":"eggheadio","id":5975001,"avatar_url":"https://avatars.githubusercontent.com/u/5975001?v=3","gravatar_id":"","url":"https://api.github.com/users/eggheadio","html_url":"https://github.com/eggheadio","followers_url":"https://api.github.com/users/eggheadio/followers","following_url":"https://api.github.com/users/eggheadio/following{/other_user}","gists_url":"https://api.github.com/users/eggheadio/gists{/gist_id}","starred_url":"https://api.github.com/users/eggheadio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggheadio/subscriptions","organizations_url":"https://api.github.com/users/eggheadio/orgs","repos_url":"https://api.github.com/users/eggheadio/repos","events_url":"https://api.github.com/users/eggheadio/events{/privacy}","received_events_url":"https://api.github.com/users/eggheadio/received_events","type":"Organization","site_admin":false},"repo":{"id":70085883,"name":"egghead-instructor-center","full_name":"eggheadio/egghead-instructor-center","owner":{"login":"eggheadio","id":5975001,"avatar_url":"https://avatars.githubusercontent.com/u/5975001?v=3","gravatar_id":"","url":"https://api.github.com/users/eggheadio","html_url":"https://github.com/eggheadio","followers_url":"https://api.github.com/users/eggheadio/followers","following_url":"https://api.github.com/users/eggheadio/following{/other_user}","gists_url":"https://api.github.com/users/eggheadio/gists{/gist_id}","starred_url":"https://api.github.com/users/eggheadio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggheadio/subscriptions","organizations_url":"https://api.github.com/users/eggheadio/orgs","repos_url":"https://api.github.com/users/eggheadio/repos","events_url":"https://api.github.com/users/eggheadio/events{/privacy}","received_events_url":"https://api.github.com/users/eggheadio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eggheadio/egghead-instructor-center","description":"egghead.io instructor dashboard","fork":false,"url":"https://api.github.com/repos/eggheadio/egghead-instructor-center","forks_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/forks","keys_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/teams","hooks_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/hooks","issue_events_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/issues/events{/number}","events_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/events","assignees_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/assignees{/user}","branches_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/branches{/branch}","tags_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/tags","blobs_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/git/refs{/sha}","trees_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/statuses/{sha}","languages_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/languages","stargazers_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/stargazers","contributors_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/contributors","subscribers_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/subscribers","subscription_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/subscription","commits_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/commits{/sha}","git_commits_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/git/commits{/sha}","comments_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/comments{/number}","issue_comment_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/issues/comments{/number}","contents_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/contents/{+path}","compare_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/merges","archive_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/downloads","issues_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/issues{/number}","pulls_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/pulls{/number}","milestones_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/milestones{/number}","notifications_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/labels{/name}","releases_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/releases{/id}","deployments_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/deployments","created_at":"2016-10-05T18:05:46Z","updated_at":"2016-10-24T16:24:25Z","pushed_at":"2016-10-27T21:52:42Z","git_url":"git://github.com/eggheadio/egghead-instructor-center.git","ssh_url":"git@github.com:eggheadio/egghead-instructor-center.git","clone_url":"https://github.com/eggheadio/egghead-instructor-center.git","svn_url":"https://github.com/eggheadio/egghead-instructor-center","homepage":"https://egghead.io/instructor","size":245,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"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":"eggheadio:master","ref":"master","sha":"f5db8cf0f308b753df3e1150addf0d519ca3799d","user":{"login":"eggheadio","id":5975001,"avatar_url":"https://avatars.githubusercontent.com/u/5975001?v=3","gravatar_id":"","url":"https://api.github.com/users/eggheadio","html_url":"https://github.com/eggheadio","followers_url":"https://api.github.com/users/eggheadio/followers","following_url":"https://api.github.com/users/eggheadio/following{/other_user}","gists_url":"https://api.github.com/users/eggheadio/gists{/gist_id}","starred_url":"https://api.github.com/users/eggheadio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggheadio/subscriptions","organizations_url":"https://api.github.com/users/eggheadio/orgs","repos_url":"https://api.github.com/users/eggheadio/repos","events_url":"https://api.github.com/users/eggheadio/events{/privacy}","received_events_url":"https://api.github.com/users/eggheadio/received_events","type":"Organization","site_admin":false},"repo":{"id":70085883,"name":"egghead-instructor-center","full_name":"eggheadio/egghead-instructor-center","owner":{"login":"eggheadio","id":5975001,"avatar_url":"https://avatars.githubusercontent.com/u/5975001?v=3","gravatar_id":"","url":"https://api.github.com/users/eggheadio","html_url":"https://github.com/eggheadio","followers_url":"https://api.github.com/users/eggheadio/followers","following_url":"https://api.github.com/users/eggheadio/following{/other_user}","gists_url":"https://api.github.com/users/eggheadio/gists{/gist_id}","starred_url":"https://api.github.com/users/eggheadio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggheadio/subscriptions","organizations_url":"https://api.github.com/users/eggheadio/orgs","repos_url":"https://api.github.com/users/eggheadio/repos","events_url":"https://api.github.com/users/eggheadio/events{/privacy}","received_events_url":"https://api.github.com/users/eggheadio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eggheadio/egghead-instructor-center","description":"egghead.io instructor dashboard","fork":false,"url":"https://api.github.com/repos/eggheadio/egghead-instructor-center","forks_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/forks","keys_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/teams","hooks_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/hooks","issue_events_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/issues/events{/number}","events_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/events","assignees_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/assignees{/user}","branches_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/branches{/branch}","tags_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/tags","blobs_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/git/refs{/sha}","trees_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/statuses/{sha}","languages_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/languages","stargazers_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/stargazers","contributors_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/contributors","subscribers_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/subscribers","subscription_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/subscription","commits_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/commits{/sha}","git_commits_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/git/commits{/sha}","comments_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/comments{/number}","issue_comment_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/issues/comments{/number}","contents_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/contents/{+path}","compare_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/merges","archive_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/downloads","issues_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/issues{/number}","pulls_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/pulls{/number}","milestones_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/milestones{/number}","notifications_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/labels{/name}","releases_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/releases{/id}","deployments_url":"https://api.github.com/repos/eggheadio/egghead-instructor-center/deployments","created_at":"2016-10-05T18:05:46Z","updated_at":"2016-10-24T16:24:25Z","pushed_at":"2016-10-27T21:52:42Z","git_url":"git://github.com/eggheadio/egghead-instructor-center.git","ssh_url":"git@github.com:eggheadio/egghead-instructor-center.git","clone_url":"https://github.com/eggheadio/egghead-instructor-center.git","svn_url":"https://github.com/eggheadio/egghead-instructor-center","homepage":"https://egghead.io/instructor","size":245,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eggheadio/egghead-instructor-center/pulls/14"},"html":{"href":"https://github.com/eggheadio/egghead-instructor-center/pull/14"},"issue":{"href":"https://api.github.com/repos/eggheadio/egghead-instructor-center/issues/14"},"comments":{"href":"https://api.github.com/repos/eggheadio/egghead-instructor-center/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/eggheadio/egghead-instructor-center/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/eggheadio/egghead-instructor-center/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eggheadio/egghead-instructor-center/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/eggheadio/egghead-instructor-center/statuses/5ddb233c0f19297d5a3730b6163e72a12ff03a6e"}}}}
{"actor":{"display_login":"trevordmiller"}}