{"action":"closed","number":69,"pull_request":{"url":"https://api.github.com/repos/pandeiro245/245cloud/pulls/69","id":32926191,"html_url":"https://github.com/pandeiro245/245cloud/pull/69","diff_url":"https://github.com/pandeiro245/245cloud/pull/69.diff","patch_url":"https://github.com/pandeiro245/245cloud/pull/69.patch","issue_url":"https://api.github.com/repos/pandeiro245/245cloud/issues/69","number":69,"state":"closed","locked":false,"title":"ローカル開発用にデータベース設定ファイルを追加する","user":{"login":"umeyuki","id":738594,"avatar_url":"https://avatars.githubusercontent.com/u/738594?v=3","gravatar_id":"","url":"https://api.github.com/users/umeyuki","html_url":"https://github.com/umeyuki","followers_url":"https://api.github.com/users/umeyuki/followers","following_url":"https://api.github.com/users/umeyuki/following{/other_user}","gists_url":"https://api.github.com/users/umeyuki/gists{/gist_id}","starred_url":"https://api.github.com/users/umeyuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umeyuki/subscriptions","organizations_url":"https://api.github.com/users/umeyuki/orgs","repos_url":"https://api.github.com/users/umeyuki/repos","events_url":"https://api.github.com/users/umeyuki/events{/privacy}","received_events_url":"https://api.github.com/users/umeyuki/received_events","type":"User","site_admin":false},"body":"## 目的\r\n\r\nローカルでrails server立ち上げると以下のメッセージが出て起動できない\r\n「could not load database configuration. No such file - [\"config/database.yml\"]」\r\n\r\n## Todo\r\n\r\n- [x] config/development.ymlを追加する\r\n- [x] READMEにインストール手順を追記\r\n\r\nもしくは config/development.yml.example を作成して\r\ncloneしたら renameしてもらう。 redmineがそうなってました。\r\n\r\n~~~\r\n  production:\r\n    adapter: mysql2\r\n    database: 245cloud\r\n    host: localhost\r\n    username: root\r\n    password: \"\"\r\n    encoding: utf8\r\n\r\n  development:\r\n    adapter: mysql2\r\n    database: 245cloud_development\r\n    host: localhost\r\n    username: root\r\n    password: \"\"\r\n    encoding: utf8\r\n\r\n  test:\r\n    adapter: mysql2\r\n    database: 245cloud_test\r\n    host: localhost\r\n    username: root\r\n~~~","created_at":"2015-04-09T05:28:41Z","updated_at":"2015-04-09T10:52:30Z","closed_at":"2015-04-09T10:52:30Z","merged_at":"2015-04-09T10:52:30Z","merge_commit_sha":"e0892610953b35e2e0118ec4192c87464a53c46e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pandeiro245/245cloud/pulls/69/commits","review_comments_url":"https://api.github.com/repos/pandeiro245/245cloud/pulls/69/comments","review_comment_url":"https://api.github.com/repos/pandeiro245/245cloud/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pandeiro245/245cloud/issues/69/comments","statuses_url":"https://api.github.com/repos/pandeiro245/245cloud/statuses/0bee61d250ec20e9259a010e39ac306398683fa7","head":{"label":"umeyuki:development_db_config","ref":"development_db_config","sha":"0bee61d250ec20e9259a010e39ac306398683fa7","user":{"login":"umeyuki","id":738594,"avatar_url":"https://avatars.githubusercontent.com/u/738594?v=3","gravatar_id":"","url":"https://api.github.com/users/umeyuki","html_url":"https://github.com/umeyuki","followers_url":"https://api.github.com/users/umeyuki/followers","following_url":"https://api.github.com/users/umeyuki/following{/other_user}","gists_url":"https://api.github.com/users/umeyuki/gists{/gist_id}","starred_url":"https://api.github.com/users/umeyuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umeyuki/subscriptions","organizations_url":"https://api.github.com/users/umeyuki/orgs","repos_url":"https://api.github.com/users/umeyuki/repos","events_url":"https://api.github.com/users/umeyuki/events{/privacy}","received_events_url":"https://api.github.com/users/umeyuki/received_events","type":"User","site_admin":false},"repo":{"id":33647186,"name":"245cloud","full_name":"umeyuki/245cloud","owner":{"login":"umeyuki","id":738594,"avatar_url":"https://avatars.githubusercontent.com/u/738594?v=3","gravatar_id":"","url":"https://api.github.com/users/umeyuki","html_url":"https://github.com/umeyuki","followers_url":"https://api.github.com/users/umeyuki/followers","following_url":"https://api.github.com/users/umeyuki/following{/other_user}","gists_url":"https://api.github.com/users/umeyuki/gists{/gist_id}","starred_url":"https://api.github.com/users/umeyuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umeyuki/subscriptions","organizations_url":"https://api.github.com/users/umeyuki/orgs","repos_url":"https://api.github.com/users/umeyuki/repos","events_url":"https://api.github.com/users/umeyuki/events{/privacy}","received_events_url":"https://api.github.com/users/umeyuki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/umeyuki/245cloud","description":"http://245cloud.com","fork":true,"url":"https://api.github.com/repos/umeyuki/245cloud","forks_url":"https://api.github.com/repos/umeyuki/245cloud/forks","keys_url":"https://api.github.com/repos/umeyuki/245cloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/umeyuki/245cloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/umeyuki/245cloud/teams","hooks_url":"https://api.github.com/repos/umeyuki/245cloud/hooks","issue_events_url":"https://api.github.com/repos/umeyuki/245cloud/issues/events{/number}","events_url":"https://api.github.com/repos/umeyuki/245cloud/events","assignees_url":"https://api.github.com/repos/umeyuki/245cloud/assignees{/user}","branches_url":"https://api.github.com/repos/umeyuki/245cloud/branches{/branch}","tags_url":"https://api.github.com/repos/umeyuki/245cloud/tags","blobs_url":"https://api.github.com/repos/umeyuki/245cloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/umeyuki/245cloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/umeyuki/245cloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/umeyuki/245cloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/umeyuki/245cloud/statuses/{sha}","languages_url":"https://api.github.com/repos/umeyuki/245cloud/languages","stargazers_url":"https://api.github.com/repos/umeyuki/245cloud/stargazers","contributors_url":"https://api.github.com/repos/umeyuki/245cloud/contributors","subscribers_url":"https://api.github.com/repos/umeyuki/245cloud/subscribers","subscription_url":"https://api.github.com/repos/umeyuki/245cloud/subscription","commits_url":"https://api.github.com/repos/umeyuki/245cloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/umeyuki/245cloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/umeyuki/245cloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/umeyuki/245cloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/umeyuki/245cloud/contents/{+path}","compare_url":"https://api.github.com/repos/umeyuki/245cloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/umeyuki/245cloud/merges","archive_url":"https://api.github.com/repos/umeyuki/245cloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/umeyuki/245cloud/downloads","issues_url":"https://api.github.com/repos/umeyuki/245cloud/issues{/number}","pulls_url":"https://api.github.com/repos/umeyuki/245cloud/pulls{/number}","milestones_url":"https://api.github.com/repos/umeyuki/245cloud/milestones{/number}","notifications_url":"https://api.github.com/repos/umeyuki/245cloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/umeyuki/245cloud/labels{/name}","releases_url":"https://api.github.com/repos/umeyuki/245cloud/releases{/id}","created_at":"2015-04-09T03:51:43Z","updated_at":"2015-04-09T03:51:44Z","pushed_at":"2015-04-09T10:50:40Z","git_url":"git://github.com/umeyuki/245cloud.git","ssh_url":"git@github.com:umeyuki/245cloud.git","clone_url":"https://github.com/umeyuki/245cloud.git","svn_url":"https://github.com/umeyuki/245cloud","homepage":null,"size":3904,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","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":0,"default_branch":"master"}},"base":{"label":"pandeiro245:rails-mysql","ref":"rails-mysql","sha":"3249810a13f580dbaf2dd8f3a62729aaf2251f85","user":{"login":"pandeiro245","id":125965,"avatar_url":"https://avatars.githubusercontent.com/u/125965?v=3","gravatar_id":"","url":"https://api.github.com/users/pandeiro245","html_url":"https://github.com/pandeiro245","followers_url":"https://api.github.com/users/pandeiro245/followers","following_url":"https://api.github.com/users/pandeiro245/following{/other_user}","gists_url":"https://api.github.com/users/pandeiro245/gists{/gist_id}","starred_url":"https://api.github.com/users/pandeiro245/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandeiro245/subscriptions","organizations_url":"https://api.github.com/users/pandeiro245/orgs","repos_url":"https://api.github.com/users/pandeiro245/repos","events_url":"https://api.github.com/users/pandeiro245/events{/privacy}","received_events_url":"https://api.github.com/users/pandeiro245/received_events","type":"User","site_admin":false},"repo":{"id":21980982,"name":"245cloud","full_name":"pandeiro245/245cloud","owner":{"login":"pandeiro245","id":125965,"avatar_url":"https://avatars.githubusercontent.com/u/125965?v=3","gravatar_id":"","url":"https://api.github.com/users/pandeiro245","html_url":"https://github.com/pandeiro245","followers_url":"https://api.github.com/users/pandeiro245/followers","following_url":"https://api.github.com/users/pandeiro245/following{/other_user}","gists_url":"https://api.github.com/users/pandeiro245/gists{/gist_id}","starred_url":"https://api.github.com/users/pandeiro245/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandeiro245/subscriptions","organizations_url":"https://api.github.com/users/pandeiro245/orgs","repos_url":"https://api.github.com/users/pandeiro245/repos","events_url":"https://api.github.com/users/pandeiro245/events{/privacy}","received_events_url":"https://api.github.com/users/pandeiro245/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pandeiro245/245cloud","description":"http://245cloud.com","fork":false,"url":"https://api.github.com/repos/pandeiro245/245cloud","forks_url":"https://api.github.com/repos/pandeiro245/245cloud/forks","keys_url":"https://api.github.com/repos/pandeiro245/245cloud/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pandeiro245/245cloud/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pandeiro245/245cloud/teams","hooks_url":"https://api.github.com/repos/pandeiro245/245cloud/hooks","issue_events_url":"https://api.github.com/repos/pandeiro245/245cloud/issues/events{/number}","events_url":"https://api.github.com/repos/pandeiro245/245cloud/events","assignees_url":"https://api.github.com/repos/pandeiro245/245cloud/assignees{/user}","branches_url":"https://api.github.com/repos/pandeiro245/245cloud/branches{/branch}","tags_url":"https://api.github.com/repos/pandeiro245/245cloud/tags","blobs_url":"https://api.github.com/repos/pandeiro245/245cloud/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pandeiro245/245cloud/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pandeiro245/245cloud/git/refs{/sha}","trees_url":"https://api.github.com/repos/pandeiro245/245cloud/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pandeiro245/245cloud/statuses/{sha}","languages_url":"https://api.github.com/repos/pandeiro245/245cloud/languages","stargazers_url":"https://api.github.com/repos/pandeiro245/245cloud/stargazers","contributors_url":"https://api.github.com/repos/pandeiro245/245cloud/contributors","subscribers_url":"https://api.github.com/repos/pandeiro245/245cloud/subscribers","subscription_url":"https://api.github.com/repos/pandeiro245/245cloud/subscription","commits_url":"https://api.github.com/repos/pandeiro245/245cloud/commits{/sha}","git_commits_url":"https://api.github.com/repos/pandeiro245/245cloud/git/commits{/sha}","comments_url":"https://api.github.com/repos/pandeiro245/245cloud/comments{/number}","issue_comment_url":"https://api.github.com/repos/pandeiro245/245cloud/issues/comments{/number}","contents_url":"https://api.github.com/repos/pandeiro245/245cloud/contents/{+path}","compare_url":"https://api.github.com/repos/pandeiro245/245cloud/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pandeiro245/245cloud/merges","archive_url":"https://api.github.com/repos/pandeiro245/245cloud/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pandeiro245/245cloud/downloads","issues_url":"https://api.github.com/repos/pandeiro245/245cloud/issues{/number}","pulls_url":"https://api.github.com/repos/pandeiro245/245cloud/pulls{/number}","milestones_url":"https://api.github.com/repos/pandeiro245/245cloud/milestones{/number}","notifications_url":"https://api.github.com/repos/pandeiro245/245cloud/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pandeiro245/245cloud/labels{/name}","releases_url":"https://api.github.com/repos/pandeiro245/245cloud/releases{/id}","created_at":"2014-07-18T13:22:32Z","updated_at":"2015-04-09T04:52:34Z","pushed_at":"2015-04-09T10:52:30Z","git_url":"git://github.com/pandeiro245/245cloud.git","ssh_url":"git@github.com:pandeiro245/245cloud.git","clone_url":"https://github.com/pandeiro245/245cloud.git","svn_url":"https://github.com/pandeiro245/245cloud","homepage":null,"size":3904,"stargazers_count":15,"watchers_count":15,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":10,"forks":5,"open_issues":10,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pandeiro245/245cloud/pulls/69"},"html":{"href":"https://github.com/pandeiro245/245cloud/pull/69"},"issue":{"href":"https://api.github.com/repos/pandeiro245/245cloud/issues/69"},"comments":{"href":"https://api.github.com/repos/pandeiro245/245cloud/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/pandeiro245/245cloud/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/pandeiro245/245cloud/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pandeiro245/245cloud/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/pandeiro245/245cloud/statuses/0bee61d250ec20e9259a010e39ac306398683fa7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"pandeiro245","id":125965,"avatar_url":"https://avatars.githubusercontent.com/u/125965?v=3","gravatar_id":"","url":"https://api.github.com/users/pandeiro245","html_url":"https://github.com/pandeiro245","followers_url":"https://api.github.com/users/pandeiro245/followers","following_url":"https://api.github.com/users/pandeiro245/following{/other_user}","gists_url":"https://api.github.com/users/pandeiro245/gists{/gist_id}","starred_url":"https://api.github.com/users/pandeiro245/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandeiro245/subscriptions","organizations_url":"https://api.github.com/users/pandeiro245/orgs","repos_url":"https://api.github.com/users/pandeiro245/repos","events_url":"https://api.github.com/users/pandeiro245/events{/privacy}","received_events_url":"https://api.github.com/users/pandeiro245/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":2,"additions":30,"deletions":3,"changed_files":2}}