{"action":"created","comment":{"url":"https://api.github.com/repos/symfony/symfony-demo/pulls/comments/50669508","id":50669508,"diff_hunk":"@@ -4,7 +4,7 @@ Symfony Demo Application\n The \"Symfony Demo Application\" is a reference application created to show how\n to develop Symfony applications following the recommended best practices.\n \n-[![Build Status](https://travis-ci.org/symfony/symfony-demo.svg?branch=master)](https://travis-ci.org/symfony/symfony-demo)\n+[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy) [![Build Status](https://travis-ci.org/symfony/symfony-demo.svg?branch=master)](https://travis-ci.org/symfony/symfony-demo)","path":"README.md","position":5,"original_position":5,"commit_id":"451492edcfe89c4ae16d58f505fd636291f341e7","original_commit_id":"451492edcfe89c4ae16d58f505fd636291f341e7","user":{"login":"fabpot","id":47313,"avatar_url":"https://avatars.githubusercontent.com/u/47313?v=3","gravatar_id":"","url":"https://api.github.com/users/fabpot","html_url":"https://github.com/fabpot","followers_url":"https://api.github.com/users/fabpot/followers","following_url":"https://api.github.com/users/fabpot/following{/other_user}","gists_url":"https://api.github.com/users/fabpot/gists{/gist_id}","starred_url":"https://api.github.com/users/fabpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabpot/subscriptions","organizations_url":"https://api.github.com/users/fabpot/orgs","repos_url":"https://api.github.com/users/fabpot/repos","events_url":"https://api.github.com/users/fabpot/events{/privacy}","received_events_url":"https://api.github.com/users/fabpot/received_events","type":"User","site_admin":false},"body":"This one should be removed and added to the symfony.com download page instead.","created_at":"2016-01-25T09:22:23Z","updated_at":"2016-01-25T09:22:23Z","html_url":"https://github.com/symfony/symfony-demo/pull/297#discussion_r50669508","pull_request_url":"https://api.github.com/repos/symfony/symfony-demo/pulls/297","_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-demo/pulls/comments/50669508"},"html":{"href":"https://github.com/symfony/symfony-demo/pull/297#discussion_r50669508"},"pull_request":{"href":"https://api.github.com/repos/symfony/symfony-demo/pulls/297"}}},"pull_request":{"url":"https://api.github.com/repos/symfony/symfony-demo/pulls/297","id":56502927,"html_url":"https://github.com/symfony/symfony-demo/pull/297","diff_url":"https://github.com/symfony/symfony-demo/pull/297.diff","patch_url":"https://github.com/symfony/symfony-demo/pull/297.patch","issue_url":"https://api.github.com/repos/symfony/symfony-demo/issues/297","number":297,"state":"open","locked":false,"title":"Heroku Button","user":{"login":"dzuelke","id":27900,"avatar_url":"https://avatars.githubusercontent.com/u/27900?v=3","gravatar_id":"","url":"https://api.github.com/users/dzuelke","html_url":"https://github.com/dzuelke","followers_url":"https://api.github.com/users/dzuelke/followers","following_url":"https://api.github.com/users/dzuelke/following{/other_user}","gists_url":"https://api.github.com/users/dzuelke/gists{/gist_id}","starred_url":"https://api.github.com/users/dzuelke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzuelke/subscriptions","organizations_url":"https://api.github.com/users/dzuelke/orgs","repos_url":"https://api.github.com/users/dzuelke/repos","events_url":"https://api.github.com/users/dzuelke/events{/privacy}","received_events_url":"https://api.github.com/users/dzuelke/received_events","type":"User","site_admin":false},"body":"- logs to `php://stderr` in prod (sane default IMO, also for other PaaS, Docker etc)\r\n- uses `url` to configure database, which in general makes config simpler too (in prod, it uses `DATABASE_URL` from the env)\r\n- DoctrineFixturesBundle is also needed in prod to populate database with fixtures\r\n- `app.json` and \"deploy to Heroku\" button take care of the magic (go to https://github.com/dzuelke/symfony-demo/tree/herokubutton and scroll down to see it)\r\n\r\nInclusion on http://symfony.com/download is obviously the next step ;)\r\n\r\nChanges reviewed by @stof in December.\r\n\r\nShould I also add \"manual\" deploy instructions to `README` or is that out of scope?","created_at":"2016-01-19T18:04:15Z","updated_at":"2016-01-25T09:22:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e30af2c69d76b98a4b1684205f356c407c822de0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/symfony/symfony-demo/pulls/297/commits","review_comments_url":"https://api.github.com/repos/symfony/symfony-demo/pulls/297/comments","review_comment_url":"https://api.github.com/repos/symfony/symfony-demo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symfony/symfony-demo/issues/297/comments","statuses_url":"https://api.github.com/repos/symfony/symfony-demo/statuses/451492edcfe89c4ae16d58f505fd636291f341e7","head":{"label":"dzuelke:herokubutton","ref":"herokubutton","sha":"451492edcfe89c4ae16d58f505fd636291f341e7","user":{"login":"dzuelke","id":27900,"avatar_url":"https://avatars.githubusercontent.com/u/27900?v=3","gravatar_id":"","url":"https://api.github.com/users/dzuelke","html_url":"https://github.com/dzuelke","followers_url":"https://api.github.com/users/dzuelke/followers","following_url":"https://api.github.com/users/dzuelke/following{/other_user}","gists_url":"https://api.github.com/users/dzuelke/gists{/gist_id}","starred_url":"https://api.github.com/users/dzuelke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzuelke/subscriptions","organizations_url":"https://api.github.com/users/dzuelke/orgs","repos_url":"https://api.github.com/users/dzuelke/repos","events_url":"https://api.github.com/users/dzuelke/events{/privacy}","received_events_url":"https://api.github.com/users/dzuelke/received_events","type":"User","site_admin":false},"repo":{"id":47336604,"name":"symfony-demo","full_name":"dzuelke/symfony-demo","owner":{"login":"dzuelke","id":27900,"avatar_url":"https://avatars.githubusercontent.com/u/27900?v=3","gravatar_id":"","url":"https://api.github.com/users/dzuelke","html_url":"https://github.com/dzuelke","followers_url":"https://api.github.com/users/dzuelke/followers","following_url":"https://api.github.com/users/dzuelke/following{/other_user}","gists_url":"https://api.github.com/users/dzuelke/gists{/gist_id}","starred_url":"https://api.github.com/users/dzuelke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzuelke/subscriptions","organizations_url":"https://api.github.com/users/dzuelke/orgs","repos_url":"https://api.github.com/users/dzuelke/repos","events_url":"https://api.github.com/users/dzuelke/events{/privacy}","received_events_url":"https://api.github.com/users/dzuelke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dzuelke/symfony-demo","description":"","fork":true,"url":"https://api.github.com/repos/dzuelke/symfony-demo","forks_url":"https://api.github.com/repos/dzuelke/symfony-demo/forks","keys_url":"https://api.github.com/repos/dzuelke/symfony-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dzuelke/symfony-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dzuelke/symfony-demo/teams","hooks_url":"https://api.github.com/repos/dzuelke/symfony-demo/hooks","issue_events_url":"https://api.github.com/repos/dzuelke/symfony-demo/issues/events{/number}","events_url":"https://api.github.com/repos/dzuelke/symfony-demo/events","assignees_url":"https://api.github.com/repos/dzuelke/symfony-demo/assignees{/user}","branches_url":"https://api.github.com/repos/dzuelke/symfony-demo/branches{/branch}","tags_url":"https://api.github.com/repos/dzuelke/symfony-demo/tags","blobs_url":"https://api.github.com/repos/dzuelke/symfony-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dzuelke/symfony-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dzuelke/symfony-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/dzuelke/symfony-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dzuelke/symfony-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/dzuelke/symfony-demo/languages","stargazers_url":"https://api.github.com/repos/dzuelke/symfony-demo/stargazers","contributors_url":"https://api.github.com/repos/dzuelke/symfony-demo/contributors","subscribers_url":"https://api.github.com/repos/dzuelke/symfony-demo/subscribers","subscription_url":"https://api.github.com/repos/dzuelke/symfony-demo/subscription","commits_url":"https://api.github.com/repos/dzuelke/symfony-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/dzuelke/symfony-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/dzuelke/symfony-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/dzuelke/symfony-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/dzuelke/symfony-demo/contents/{+path}","compare_url":"https://api.github.com/repos/dzuelke/symfony-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dzuelke/symfony-demo/merges","archive_url":"https://api.github.com/repos/dzuelke/symfony-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dzuelke/symfony-demo/downloads","issues_url":"https://api.github.com/repos/dzuelke/symfony-demo/issues{/number}","pulls_url":"https://api.github.com/repos/dzuelke/symfony-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/dzuelke/symfony-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/dzuelke/symfony-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dzuelke/symfony-demo/labels{/name}","releases_url":"https://api.github.com/repos/dzuelke/symfony-demo/releases{/id}","deployments_url":"https://api.github.com/repos/dzuelke/symfony-demo/deployments","created_at":"2015-12-03T14:18:51Z","updated_at":"2016-01-19T20:15:46Z","pushed_at":"2016-01-19T20:37:29Z","git_url":"git://github.com/dzuelke/symfony-demo.git","ssh_url":"git@github.com:dzuelke/symfony-demo.git","clone_url":"https://github.com/dzuelke/symfony-demo.git","svn_url":"https://github.com/dzuelke/symfony-demo","homepage":null,"size":1782,"stargazers_count":1,"watchers_count":1,"language":"PHP","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":1,"default_branch":"master"}},"base":{"label":"symfony:master","ref":"master","sha":"dbdfc333d18189c74711b174cdbf8ff0e5ff1b51","user":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"repo":{"id":32792088,"name":"symfony-demo","full_name":"symfony/symfony-demo","owner":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symfony/symfony-demo","description":"","fork":false,"url":"https://api.github.com/repos/symfony/symfony-demo","forks_url":"https://api.github.com/repos/symfony/symfony-demo/forks","keys_url":"https://api.github.com/repos/symfony/symfony-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony/symfony-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony/symfony-demo/teams","hooks_url":"https://api.github.com/repos/symfony/symfony-demo/hooks","issue_events_url":"https://api.github.com/repos/symfony/symfony-demo/issues/events{/number}","events_url":"https://api.github.com/repos/symfony/symfony-demo/events","assignees_url":"https://api.github.com/repos/symfony/symfony-demo/assignees{/user}","branches_url":"https://api.github.com/repos/symfony/symfony-demo/branches{/branch}","tags_url":"https://api.github.com/repos/symfony/symfony-demo/tags","blobs_url":"https://api.github.com/repos/symfony/symfony-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony/symfony-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony/symfony-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony/symfony-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony/symfony-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony/symfony-demo/languages","stargazers_url":"https://api.github.com/repos/symfony/symfony-demo/stargazers","contributors_url":"https://api.github.com/repos/symfony/symfony-demo/contributors","subscribers_url":"https://api.github.com/repos/symfony/symfony-demo/subscribers","subscription_url":"https://api.github.com/repos/symfony/symfony-demo/subscription","commits_url":"https://api.github.com/repos/symfony/symfony-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony/symfony-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony/symfony-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony/symfony-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony/symfony-demo/contents/{+path}","compare_url":"https://api.github.com/repos/symfony/symfony-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony/symfony-demo/merges","archive_url":"https://api.github.com/repos/symfony/symfony-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony/symfony-demo/downloads","issues_url":"https://api.github.com/repos/symfony/symfony-demo/issues{/number}","pulls_url":"https://api.github.com/repos/symfony/symfony-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony/symfony-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony/symfony-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony/symfony-demo/labels{/name}","releases_url":"https://api.github.com/repos/symfony/symfony-demo/releases{/id}","deployments_url":"https://api.github.com/repos/symfony/symfony-demo/deployments","created_at":"2015-03-24T10:37:08Z","updated_at":"2016-01-23T04:01:31Z","pushed_at":"2016-01-22T08:42:17Z","git_url":"git://github.com/symfony/symfony-demo.git","ssh_url":"git@github.com:symfony/symfony-demo.git","clone_url":"https://github.com/symfony/symfony-demo.git","svn_url":"https://github.com/symfony/symfony-demo","homepage":null,"size":2804,"stargazers_count":288,"watchers_count":288,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":161,"mirror_url":null,"open_issues_count":14,"forks":161,"open_issues":14,"watchers":288,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-demo/pulls/297"},"html":{"href":"https://github.com/symfony/symfony-demo/pull/297"},"issue":{"href":"https://api.github.com/repos/symfony/symfony-demo/issues/297"},"comments":{"href":"https://api.github.com/repos/symfony/symfony-demo/issues/297/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony/symfony-demo/pulls/297/comments"},"review_comment":{"href":"https://api.github.com/repos/symfony/symfony-demo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symfony/symfony-demo/pulls/297/commits"},"statuses":{"href":"https://api.github.com/repos/symfony/symfony-demo/statuses/451492edcfe89c4ae16d58f505fd636291f341e7"}}}}