{"action":"created","comment":{"url":"https://api.github.com/repos/aces/Loris/pulls/comments/29969518","id":29969518,"diff_hunk":"@@ -52,8 +52,18 @@ Log in with the username “admin” and the password you supplied for this user\n     sudo a2dissite default\n     sudo a2ensite $projectname\n     ```\n+5. Note that the default Loris setup assumes that Loris is running on localhost. If this\n+is not the case, you'll have to manually update the URL and Host config variables in the\n+ConfigSettings table by running the following SQL commands from a MySQL prompt:\n \n-5. Notes for LORIS post-installation setup are contained in the [LORIS Wiki](https://github.com/aces/Loris/wiki/Setup).\n+```SQL\n+UPDATE Config SET Value='$yourURL' WHERE ConfigID=(SELECT ID FROM ConfigSettings WHERE Name='url');\n+UPDATE Config SET Value='$yourHostname' WHERE ConfigID=(SELECT ID FROM ConfigSettings WHERE Name='host');\n+```\n+\n+Make sure that `$yourURL` above contains the \"http://\" or \"https://\" and `$yourHostname` does not. If your server is only being accessed from localhost, you can skip this step.","path":"README.md","position":14,"original_position":14,"commit_id":"34fa93fceb0fcc8128d5347237283f0531480013","original_commit_id":"34fa93fceb0fcc8128d5347237283f0531480013","user":{"login":"driusan","id":498329,"avatar_url":"https://avatars.githubusercontent.com/u/498329?v=3","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"body":"They're defined in the default schema as localhost, they're never empty.","created_at":"2015-05-08T19:31:32Z","updated_at":"2015-05-08T19:31:32Z","html_url":"https://github.com/aces/Loris/pull/1123#discussion_r29969518","pull_request_url":"https://api.github.com/repos/aces/Loris/pulls/1123","_links":{"self":{"href":"https://api.github.com/repos/aces/Loris/pulls/comments/29969518"},"html":{"href":"https://github.com/aces/Loris/pull/1123#discussion_r29969518"},"pull_request":{"href":"https://api.github.com/repos/aces/Loris/pulls/1123"}}},"pull_request":{"url":"https://api.github.com/repos/aces/Loris/pulls/1123","id":35028989,"html_url":"https://github.com/aces/Loris/pull/1123","diff_url":"https://github.com/aces/Loris/pull/1123.diff","patch_url":"https://github.com/aces/Loris/pull/1123.patch","issue_url":"https://api.github.com/repos/aces/Loris/issues/1123","number":1123,"state":"open","locked":false,"title":"Updated README to tell people to set host and URL","user":{"login":"driusan","id":498329,"avatar_url":"https://avatars.githubusercontent.com/u/498329?v=3","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"body":"Added optional step to set config variables if the server is not running on localhost.","created_at":"2015-05-08T17:28:43Z","updated_at":"2015-05-08T19:31:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1f7091e2ea6c6faf2c98f5fdf33abd41f24d2e3","assignee":null,"milestone":{"url":"https://api.github.com/repos/aces/Loris/milestones/2","html_url":"https://github.com/aces/Loris/milestones/15.04","labels_url":"https://api.github.com/repos/aces/Loris/milestones/2/labels","id":906132,"number":2,"title":"15.04","description":"The upcoming 15.04 Loris release","creator":{"login":"driusan","id":498329,"avatar_url":"https://avatars.githubusercontent.com/u/498329?v=3","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":213,"state":"open","created_at":"2014-12-16T20:47:35Z","updated_at":"2015-05-08T18:33:18Z","due_on":"2015-04-25T04:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/aces/Loris/pulls/1123/commits","review_comments_url":"https://api.github.com/repos/aces/Loris/pulls/1123/comments","review_comment_url":"https://api.github.com/repos/aces/Loris/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aces/Loris/issues/1123/comments","statuses_url":"https://api.github.com/repos/aces/Loris/statuses/34fa93fceb0fcc8128d5347237283f0531480013","head":{"label":"driusan:UpdateREADMEHostname","ref":"UpdateREADMEHostname","sha":"34fa93fceb0fcc8128d5347237283f0531480013","user":{"login":"driusan","id":498329,"avatar_url":"https://avatars.githubusercontent.com/u/498329?v=3","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"repo":{"id":25378793,"name":"Loris","full_name":"driusan/Loris","owner":{"login":"driusan","id":498329,"avatar_url":"https://avatars.githubusercontent.com/u/498329?v=3","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/driusan/Loris","description":"LORIS (Longitudinal Online Research and Imaging System) is a web-accessible database solution for neuroimaging.","fork":true,"url":"https://api.github.com/repos/driusan/Loris","forks_url":"https://api.github.com/repos/driusan/Loris/forks","keys_url":"https://api.github.com/repos/driusan/Loris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/driusan/Loris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/driusan/Loris/teams","hooks_url":"https://api.github.com/repos/driusan/Loris/hooks","issue_events_url":"https://api.github.com/repos/driusan/Loris/issues/events{/number}","events_url":"https://api.github.com/repos/driusan/Loris/events","assignees_url":"https://api.github.com/repos/driusan/Loris/assignees{/user}","branches_url":"https://api.github.com/repos/driusan/Loris/branches{/branch}","tags_url":"https://api.github.com/repos/driusan/Loris/tags","blobs_url":"https://api.github.com/repos/driusan/Loris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/driusan/Loris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/driusan/Loris/git/refs{/sha}","trees_url":"https://api.github.com/repos/driusan/Loris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/driusan/Loris/statuses/{sha}","languages_url":"https://api.github.com/repos/driusan/Loris/languages","stargazers_url":"https://api.github.com/repos/driusan/Loris/stargazers","contributors_url":"https://api.github.com/repos/driusan/Loris/contributors","subscribers_url":"https://api.github.com/repos/driusan/Loris/subscribers","subscription_url":"https://api.github.com/repos/driusan/Loris/subscription","commits_url":"https://api.github.com/repos/driusan/Loris/commits{/sha}","git_commits_url":"https://api.github.com/repos/driusan/Loris/git/commits{/sha}","comments_url":"https://api.github.com/repos/driusan/Loris/comments{/number}","issue_comment_url":"https://api.github.com/repos/driusan/Loris/issues/comments{/number}","contents_url":"https://api.github.com/repos/driusan/Loris/contents/{+path}","compare_url":"https://api.github.com/repos/driusan/Loris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/driusan/Loris/merges","archive_url":"https://api.github.com/repos/driusan/Loris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/driusan/Loris/downloads","issues_url":"https://api.github.com/repos/driusan/Loris/issues{/number}","pulls_url":"https://api.github.com/repos/driusan/Loris/pulls{/number}","milestones_url":"https://api.github.com/repos/driusan/Loris/milestones{/number}","notifications_url":"https://api.github.com/repos/driusan/Loris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/driusan/Loris/labels{/name}","releases_url":"https://api.github.com/repos/driusan/Loris/releases{/id}","created_at":"2014-10-17T21:57:06Z","updated_at":"2015-01-28T15:11:33Z","pushed_at":"2015-05-08T17:46:55Z","git_url":"git://github.com/driusan/Loris.git","ssh_url":"git@github.com:driusan/Loris.git","clone_url":"https://github.com/driusan/Loris.git","svn_url":"https://github.com/driusan/Loris","homepage":"","size":60038,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"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":"aces:master","ref":"master","sha":"2bee7dc33c14fcac4820470138c7b5d29518efb6","user":{"login":"aces","id":472868,"avatar_url":"https://avatars.githubusercontent.com/u/472868?v=3","gravatar_id":"","url":"https://api.github.com/users/aces","html_url":"https://github.com/aces","followers_url":"https://api.github.com/users/aces/followers","following_url":"https://api.github.com/users/aces/following{/other_user}","gists_url":"https://api.github.com/users/aces/gists{/gist_id}","starred_url":"https://api.github.com/users/aces/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aces/subscriptions","organizations_url":"https://api.github.com/users/aces/orgs","repos_url":"https://api.github.com/users/aces/repos","events_url":"https://api.github.com/users/aces/events{/privacy}","received_events_url":"https://api.github.com/users/aces/received_events","type":"Organization","site_admin":false},"repo":{"id":1125630,"name":"Loris","full_name":"aces/Loris","owner":{"login":"aces","id":472868,"avatar_url":"https://avatars.githubusercontent.com/u/472868?v=3","gravatar_id":"","url":"https://api.github.com/users/aces","html_url":"https://github.com/aces","followers_url":"https://api.github.com/users/aces/followers","following_url":"https://api.github.com/users/aces/following{/other_user}","gists_url":"https://api.github.com/users/aces/gists{/gist_id}","starred_url":"https://api.github.com/users/aces/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aces/subscriptions","organizations_url":"https://api.github.com/users/aces/orgs","repos_url":"https://api.github.com/users/aces/repos","events_url":"https://api.github.com/users/aces/events{/privacy}","received_events_url":"https://api.github.com/users/aces/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aces/Loris","description":"LORIS is a web-accessible database solution for longitudinal multi-site studies.","fork":false,"url":"https://api.github.com/repos/aces/Loris","forks_url":"https://api.github.com/repos/aces/Loris/forks","keys_url":"https://api.github.com/repos/aces/Loris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aces/Loris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aces/Loris/teams","hooks_url":"https://api.github.com/repos/aces/Loris/hooks","issue_events_url":"https://api.github.com/repos/aces/Loris/issues/events{/number}","events_url":"https://api.github.com/repos/aces/Loris/events","assignees_url":"https://api.github.com/repos/aces/Loris/assignees{/user}","branches_url":"https://api.github.com/repos/aces/Loris/branches{/branch}","tags_url":"https://api.github.com/repos/aces/Loris/tags","blobs_url":"https://api.github.com/repos/aces/Loris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aces/Loris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aces/Loris/git/refs{/sha}","trees_url":"https://api.github.com/repos/aces/Loris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aces/Loris/statuses/{sha}","languages_url":"https://api.github.com/repos/aces/Loris/languages","stargazers_url":"https://api.github.com/repos/aces/Loris/stargazers","contributors_url":"https://api.github.com/repos/aces/Loris/contributors","subscribers_url":"https://api.github.com/repos/aces/Loris/subscribers","subscription_url":"https://api.github.com/repos/aces/Loris/subscription","commits_url":"https://api.github.com/repos/aces/Loris/commits{/sha}","git_commits_url":"https://api.github.com/repos/aces/Loris/git/commits{/sha}","comments_url":"https://api.github.com/repos/aces/Loris/comments{/number}","issue_comment_url":"https://api.github.com/repos/aces/Loris/issues/comments{/number}","contents_url":"https://api.github.com/repos/aces/Loris/contents/{+path}","compare_url":"https://api.github.com/repos/aces/Loris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aces/Loris/merges","archive_url":"https://api.github.com/repos/aces/Loris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aces/Loris/downloads","issues_url":"https://api.github.com/repos/aces/Loris/issues{/number}","pulls_url":"https://api.github.com/repos/aces/Loris/pulls{/number}","milestones_url":"https://api.github.com/repos/aces/Loris/milestones{/number}","notifications_url":"https://api.github.com/repos/aces/Loris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aces/Loris/labels{/name}","releases_url":"https://api.github.com/repos/aces/Loris/releases{/id}","created_at":"2010-11-30T14:57:57Z","updated_at":"2015-05-08T16:18:43Z","pushed_at":"2015-05-08T19:20:17Z","git_url":"git://github.com/aces/Loris.git","ssh_url":"git@github.com:aces/Loris.git","clone_url":"https://github.com/aces/Loris.git","svn_url":"https://github.com/aces/Loris","homepage":"","size":66921,"stargazers_count":22,"watchers_count":22,"language":"Smarty","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":20,"forks":25,"open_issues":20,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aces/Loris/pulls/1123"},"html":{"href":"https://github.com/aces/Loris/pull/1123"},"issue":{"href":"https://api.github.com/repos/aces/Loris/issues/1123"},"comments":{"href":"https://api.github.com/repos/aces/Loris/issues/1123/comments"},"review_comments":{"href":"https://api.github.com/repos/aces/Loris/pulls/1123/comments"},"review_comment":{"href":"https://api.github.com/repos/aces/Loris/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aces/Loris/pulls/1123/commits"},"statuses":{"href":"https://api.github.com/repos/aces/Loris/statuses/34fa93fceb0fcc8128d5347237283f0531480013"}}}}