{"action":"created","comment":{"url":"https://api.github.com/repos/andela/hyuga-cfh/pulls/comments/83040962","pull_request_review_id":3907419,"id":83040962,"diff_hunk":"@@ -14,8 +16,11 @@ var express = require('express'),\n \n //Load configurations\n //if test env, load example file\n-var env = process.env.NODE_ENV = process.env.NODE_ENV || 'development',\n-    config = require('./config/config'),\n+var env = process.env.NODE_ENV = process.env.NODE_ENV || 'development';\n+    if(env ===  'development'){\n+        require('dotenv').config();   \n+    }\n+var config = require('./config/config'),","path":"server.js","position":24,"original_position":24,"commit_id":"ac20435c820a9bee7e7f32174d03e3152f892743","original_commit_id":"ac20435c820a9bee7e7f32174d03e3152f892743","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'require' is not defined.","created_at":"2016-10-12T16:11:03Z","updated_at":"2016-10-12T16:11:03Z","html_url":"https://github.com/andela/hyuga-cfh/pull/18#discussion_r83040962","pull_request_url":"https://api.github.com/repos/andela/hyuga-cfh/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/andela/hyuga-cfh/pulls/comments/83040962"},"html":{"href":"https://github.com/andela/hyuga-cfh/pull/18#discussion_r83040962"},"pull_request":{"href":"https://api.github.com/repos/andela/hyuga-cfh/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/andela/hyuga-cfh/pulls/18","id":89046055,"html_url":"https://github.com/andela/hyuga-cfh/pull/18","diff_url":"https://github.com/andela/hyuga-cfh/pull/18.diff","patch_url":"https://github.com/andela/hyuga-cfh/pull/18.patch","issue_url":"https://api.github.com/repos/andela/hyuga-cfh/issues/18","number":18,"state":"open","locked":false,"title":"Chore/131952141/heroku application instance","user":{"login":"andela-oagunbiade","id":21035422,"avatar_url":"https://avatars.githubusercontent.com/u/21035422?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-oagunbiade","html_url":"https://github.com/andela-oagunbiade","followers_url":"https://api.github.com/users/andela-oagunbiade/followers","following_url":"https://api.github.com/users/andela-oagunbiade/following{/other_user}","gists_url":"https://api.github.com/users/andela-oagunbiade/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-oagunbiade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-oagunbiade/subscriptions","organizations_url":"https://api.github.com/users/andela-oagunbiade/orgs","repos_url":"https://api.github.com/users/andela-oagunbiade/repos","events_url":"https://api.github.com/users/andela-oagunbiade/events{/privacy}","received_events_url":"https://api.github.com/users/andela-oagunbiade/received_events","type":"User","site_admin":false},"body":"What does this PR do?\r\n\r\nCreate an instance on the application on Heroku\r\n\r\nDescription of Task to be completed?\r\n\r\nCreate an app for production, staging and set up a pipeline\r\n\r\nHow should this be manually tested?\r\n\r\nN/A\r\n\r\nAny background context you want to provide?\r\n\r\nN/A\r\n\r\nWhat are the relevant pivotal tracker stories?\r\n\r\n#131952141 Create an Heroku instance for the application\r\n\r\nScreenshots (if appropriate)\r\n\r\nQuestions:","created_at":"2016-10-12T16:10:54Z","updated_at":"2016-10-12T16:11:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/hyuga-cfh/pulls/18/commits","review_comments_url":"https://api.github.com/repos/andela/hyuga-cfh/pulls/18/comments","review_comment_url":"https://api.github.com/repos/andela/hyuga-cfh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/hyuga-cfh/issues/18/comments","statuses_url":"https://api.github.com/repos/andela/hyuga-cfh/statuses/ac20435c820a9bee7e7f32174d03e3152f892743","head":{"label":"andela:chore/131952141/heroku-application-instance","ref":"chore/131952141/heroku-application-instance","sha":"ac20435c820a9bee7e7f32174d03e3152f892743","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":69980261,"name":"hyuga-cfh","full_name":"andela/hyuga-cfh","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/hyuga-cfh","description":null,"fork":false,"url":"https://api.github.com/repos/andela/hyuga-cfh","forks_url":"https://api.github.com/repos/andela/hyuga-cfh/forks","keys_url":"https://api.github.com/repos/andela/hyuga-cfh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/hyuga-cfh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/hyuga-cfh/teams","hooks_url":"https://api.github.com/repos/andela/hyuga-cfh/hooks","issue_events_url":"https://api.github.com/repos/andela/hyuga-cfh/issues/events{/number}","events_url":"https://api.github.com/repos/andela/hyuga-cfh/events","assignees_url":"https://api.github.com/repos/andela/hyuga-cfh/assignees{/user}","branches_url":"https://api.github.com/repos/andela/hyuga-cfh/branches{/branch}","tags_url":"https://api.github.com/repos/andela/hyuga-cfh/tags","blobs_url":"https://api.github.com/repos/andela/hyuga-cfh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/hyuga-cfh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/hyuga-cfh/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/hyuga-cfh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/hyuga-cfh/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/hyuga-cfh/languages","stargazers_url":"https://api.github.com/repos/andela/hyuga-cfh/stargazers","contributors_url":"https://api.github.com/repos/andela/hyuga-cfh/contributors","subscribers_url":"https://api.github.com/repos/andela/hyuga-cfh/subscribers","subscription_url":"https://api.github.com/repos/andela/hyuga-cfh/subscription","commits_url":"https://api.github.com/repos/andela/hyuga-cfh/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/hyuga-cfh/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/hyuga-cfh/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/hyuga-cfh/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/hyuga-cfh/contents/{+path}","compare_url":"https://api.github.com/repos/andela/hyuga-cfh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/hyuga-cfh/merges","archive_url":"https://api.github.com/repos/andela/hyuga-cfh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/hyuga-cfh/downloads","issues_url":"https://api.github.com/repos/andela/hyuga-cfh/issues{/number}","pulls_url":"https://api.github.com/repos/andela/hyuga-cfh/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/hyuga-cfh/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/hyuga-cfh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/hyuga-cfh/labels{/name}","releases_url":"https://api.github.com/repos/andela/hyuga-cfh/releases{/id}","deployments_url":"https://api.github.com/repos/andela/hyuga-cfh/deployments","created_at":"2016-10-04T15:44:51Z","updated_at":"2016-10-11T10:23:17Z","pushed_at":"2016-10-12T16:10:54Z","git_url":"git://github.com/andela/hyuga-cfh.git","ssh_url":"git@github.com:andela/hyuga-cfh.git","clone_url":"https://github.com/andela/hyuga-cfh.git","svn_url":"https://github.com/andela/hyuga-cfh","homepage":null,"size":9570,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"andela:staging","ref":"staging","sha":"18d1f6bbc85fa5e26cfbe98f3cf2c73340788855","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":69980261,"name":"hyuga-cfh","full_name":"andela/hyuga-cfh","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/hyuga-cfh","description":null,"fork":false,"url":"https://api.github.com/repos/andela/hyuga-cfh","forks_url":"https://api.github.com/repos/andela/hyuga-cfh/forks","keys_url":"https://api.github.com/repos/andela/hyuga-cfh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/hyuga-cfh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/hyuga-cfh/teams","hooks_url":"https://api.github.com/repos/andela/hyuga-cfh/hooks","issue_events_url":"https://api.github.com/repos/andela/hyuga-cfh/issues/events{/number}","events_url":"https://api.github.com/repos/andela/hyuga-cfh/events","assignees_url":"https://api.github.com/repos/andela/hyuga-cfh/assignees{/user}","branches_url":"https://api.github.com/repos/andela/hyuga-cfh/branches{/branch}","tags_url":"https://api.github.com/repos/andela/hyuga-cfh/tags","blobs_url":"https://api.github.com/repos/andela/hyuga-cfh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/hyuga-cfh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/hyuga-cfh/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/hyuga-cfh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/hyuga-cfh/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/hyuga-cfh/languages","stargazers_url":"https://api.github.com/repos/andela/hyuga-cfh/stargazers","contributors_url":"https://api.github.com/repos/andela/hyuga-cfh/contributors","subscribers_url":"https://api.github.com/repos/andela/hyuga-cfh/subscribers","subscription_url":"https://api.github.com/repos/andela/hyuga-cfh/subscription","commits_url":"https://api.github.com/repos/andela/hyuga-cfh/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/hyuga-cfh/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/hyuga-cfh/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/hyuga-cfh/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/hyuga-cfh/contents/{+path}","compare_url":"https://api.github.com/repos/andela/hyuga-cfh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/hyuga-cfh/merges","archive_url":"https://api.github.com/repos/andela/hyuga-cfh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/hyuga-cfh/downloads","issues_url":"https://api.github.com/repos/andela/hyuga-cfh/issues{/number}","pulls_url":"https://api.github.com/repos/andela/hyuga-cfh/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/hyuga-cfh/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/hyuga-cfh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/hyuga-cfh/labels{/name}","releases_url":"https://api.github.com/repos/andela/hyuga-cfh/releases{/id}","deployments_url":"https://api.github.com/repos/andela/hyuga-cfh/deployments","created_at":"2016-10-04T15:44:51Z","updated_at":"2016-10-11T10:23:17Z","pushed_at":"2016-10-12T16:10:54Z","git_url":"git://github.com/andela/hyuga-cfh.git","ssh_url":"git@github.com:andela/hyuga-cfh.git","clone_url":"https://github.com/andela/hyuga-cfh.git","svn_url":"https://github.com/andela/hyuga-cfh","homepage":null,"size":9570,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/hyuga-cfh/pulls/18"},"html":{"href":"https://github.com/andela/hyuga-cfh/pull/18"},"issue":{"href":"https://api.github.com/repos/andela/hyuga-cfh/issues/18"},"comments":{"href":"https://api.github.com/repos/andela/hyuga-cfh/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/hyuga-cfh/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/hyuga-cfh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/hyuga-cfh/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/andela/hyuga-cfh/statuses/ac20435c820a9bee7e7f32174d03e3152f892743"}}}}
{"actor":{"display_login":"houndci-bot"}}