{"action":"created","comment":{"url":"https://api.github.com/repos/choonkending/react-webpack-node/pulls/comments/60393739","id":60393739,"diff_hunk":"@@ -33,3 +39,34 @@ You will need to add a folder after `/db` with [may] contain the following ORM s\n - session stores\n - deserialising users\n \n+##Setting up Postgres\n+\n+**Install Postgres as your database**:\n+\n+```bash\n+# Update brew formulae\n+brew update\n+# Install Postgres\n+brew install postgres\n+```\n+\n+**Run your Postgres server**\n+```bash\n+postgres -D /usr/local/var/postgres\n+```\n+\n+**Setup your postgres database**\n+```bash\n+createdb react_webpack_node_development\n+sequelize db:migrate","path":"docs/databases.md","position":36,"original_position":36,"commit_id":"bb67fea415aed9a06e341de4e2f5558808eebf19","original_commit_id":"bb67fea415aed9a06e341de4e2f5558808eebf19","user":{"login":"choonkending","id":3787885,"avatar_url":"https://avatars.githubusercontent.com/u/3787885?v=3","gravatar_id":"","url":"https://api.github.com/users/choonkending","html_url":"https://github.com/choonkending","followers_url":"https://api.github.com/users/choonkending/followers","following_url":"https://api.github.com/users/choonkending/following{/other_user}","gists_url":"https://api.github.com/users/choonkending/gists{/gist_id}","starred_url":"https://api.github.com/users/choonkending/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choonkending/subscriptions","organizations_url":"https://api.github.com/users/choonkending/orgs","repos_url":"https://api.github.com/users/choonkending/repos","events_url":"https://api.github.com/users/choonkending/events{/privacy}","received_events_url":"https://api.github.com/users/choonkending/received_events","type":"User","site_admin":false},"body":"Given that we install sequelize without the `-g` flag, we could either run:\r\n```bash\r\n// in this project directory\r\nnode_modules/.bin/sequelize db:migrate\r\n```\r\nor\r\nadd a `sequelize db:migrate` to `package.json` and use `npm` to run the command?\r\n","created_at":"2016-04-20T11:53:33Z","updated_at":"2016-04-20T11:53:33Z","html_url":"https://github.com/choonkending/react-webpack-node/pull/193#discussion_r60393739","pull_request_url":"https://api.github.com/repos/choonkending/react-webpack-node/pulls/193","_links":{"self":{"href":"https://api.github.com/repos/choonkending/react-webpack-node/pulls/comments/60393739"},"html":{"href":"https://github.com/choonkending/react-webpack-node/pull/193#discussion_r60393739"},"pull_request":{"href":"https://api.github.com/repos/choonkending/react-webpack-node/pulls/193"}}},"pull_request":{"url":"https://api.github.com/repos/choonkending/react-webpack-node/pulls/193","id":66874413,"html_url":"https://github.com/choonkending/react-webpack-node/pull/193","diff_url":"https://github.com/choonkending/react-webpack-node/pull/193.diff","patch_url":"https://github.com/choonkending/react-webpack-node/pull/193.patch","issue_url":"https://api.github.com/repos/choonkending/react-webpack-node/issues/193","number":193,"state":"open","locked":false,"title":"Add postgres support with new db config setup","user":{"login":"mjewell","id":8717271,"avatar_url":"https://avatars.githubusercontent.com/u/8717271?v=3","gravatar_id":"","url":"https://api.github.com/users/mjewell","html_url":"https://github.com/mjewell","followers_url":"https://api.github.com/users/mjewell/followers","following_url":"https://api.github.com/users/mjewell/following{/other_user}","gists_url":"https://api.github.com/users/mjewell/gists{/gist_id}","starred_url":"https://api.github.com/users/mjewell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjewell/subscriptions","organizations_url":"https://api.github.com/users/mjewell/orgs","repos_url":"https://api.github.com/users/mjewell/repos","events_url":"https://api.github.com/users/mjewell/events{/privacy}","received_events_url":"https://api.github.com/users/mjewell/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-18T15:36:03Z","updated_at":"2016-04-20T11:53:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc9047b679b52493cc819bde553ecf65b9e87e12","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/choonkending/react-webpack-node/pulls/193/commits","review_comments_url":"https://api.github.com/repos/choonkending/react-webpack-node/pulls/193/comments","review_comment_url":"https://api.github.com/repos/choonkending/react-webpack-node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/choonkending/react-webpack-node/issues/193/comments","statuses_url":"https://api.github.com/repos/choonkending/react-webpack-node/statuses/bb67fea415aed9a06e341de4e2f5558808eebf19","head":{"label":"mjewell:feature/sequelize","ref":"feature/sequelize","sha":"bb67fea415aed9a06e341de4e2f5558808eebf19","user":{"login":"mjewell","id":8717271,"avatar_url":"https://avatars.githubusercontent.com/u/8717271?v=3","gravatar_id":"","url":"https://api.github.com/users/mjewell","html_url":"https://github.com/mjewell","followers_url":"https://api.github.com/users/mjewell/followers","following_url":"https://api.github.com/users/mjewell/following{/other_user}","gists_url":"https://api.github.com/users/mjewell/gists{/gist_id}","starred_url":"https://api.github.com/users/mjewell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjewell/subscriptions","organizations_url":"https://api.github.com/users/mjewell/orgs","repos_url":"https://api.github.com/users/mjewell/repos","events_url":"https://api.github.com/users/mjewell/events{/privacy}","received_events_url":"https://api.github.com/users/mjewell/received_events","type":"User","site_admin":false},"repo":{"id":52636757,"name":"react-webpack-node","full_name":"mjewell/react-webpack-node","owner":{"login":"mjewell","id":8717271,"avatar_url":"https://avatars.githubusercontent.com/u/8717271?v=3","gravatar_id":"","url":"https://api.github.com/users/mjewell","html_url":"https://github.com/mjewell","followers_url":"https://api.github.com/users/mjewell/followers","following_url":"https://api.github.com/users/mjewell/following{/other_user}","gists_url":"https://api.github.com/users/mjewell/gists{/gist_id}","starred_url":"https://api.github.com/users/mjewell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjewell/subscriptions","organizations_url":"https://api.github.com/users/mjewell/orgs","repos_url":"https://api.github.com/users/mjewell/repos","events_url":"https://api.github.com/users/mjewell/events{/privacy}","received_events_url":"https://api.github.com/users/mjewell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mjewell/react-webpack-node","description":"Boilerplate for an universal/isomorphic React + Redux/alt Flux application using Webpack running on a node express server ","fork":true,"url":"https://api.github.com/repos/mjewell/react-webpack-node","forks_url":"https://api.github.com/repos/mjewell/react-webpack-node/forks","keys_url":"https://api.github.com/repos/mjewell/react-webpack-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mjewell/react-webpack-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mjewell/react-webpack-node/teams","hooks_url":"https://api.github.com/repos/mjewell/react-webpack-node/hooks","issue_events_url":"https://api.github.com/repos/mjewell/react-webpack-node/issues/events{/number}","events_url":"https://api.github.com/repos/mjewell/react-webpack-node/events","assignees_url":"https://api.github.com/repos/mjewell/react-webpack-node/assignees{/user}","branches_url":"https://api.github.com/repos/mjewell/react-webpack-node/branches{/branch}","tags_url":"https://api.github.com/repos/mjewell/react-webpack-node/tags","blobs_url":"https://api.github.com/repos/mjewell/react-webpack-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mjewell/react-webpack-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mjewell/react-webpack-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/mjewell/react-webpack-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mjewell/react-webpack-node/statuses/{sha}","languages_url":"https://api.github.com/repos/mjewell/react-webpack-node/languages","stargazers_url":"https://api.github.com/repos/mjewell/react-webpack-node/stargazers","contributors_url":"https://api.github.com/repos/mjewell/react-webpack-node/contributors","subscribers_url":"https://api.github.com/repos/mjewell/react-webpack-node/subscribers","subscription_url":"https://api.github.com/repos/mjewell/react-webpack-node/subscription","commits_url":"https://api.github.com/repos/mjewell/react-webpack-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/mjewell/react-webpack-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/mjewell/react-webpack-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/mjewell/react-webpack-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/mjewell/react-webpack-node/contents/{+path}","compare_url":"https://api.github.com/repos/mjewell/react-webpack-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mjewell/react-webpack-node/merges","archive_url":"https://api.github.com/repos/mjewell/react-webpack-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mjewell/react-webpack-node/downloads","issues_url":"https://api.github.com/repos/mjewell/react-webpack-node/issues{/number}","pulls_url":"https://api.github.com/repos/mjewell/react-webpack-node/pulls{/number}","milestones_url":"https://api.github.com/repos/mjewell/react-webpack-node/milestones{/number}","notifications_url":"https://api.github.com/repos/mjewell/react-webpack-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mjewell/react-webpack-node/labels{/name}","releases_url":"https://api.github.com/repos/mjewell/react-webpack-node/releases{/id}","deployments_url":"https://api.github.com/repos/mjewell/react-webpack-node/deployments","created_at":"2016-02-26T22:24:07Z","updated_at":"2016-02-26T22:24:08Z","pushed_at":"2016-04-18T16:21:39Z","git_url":"git://github.com/mjewell/react-webpack-node.git","ssh_url":"git@github.com:mjewell/react-webpack-node.git","clone_url":"https://github.com/mjewell/react-webpack-node.git","svn_url":"https://github.com/mjewell/react-webpack-node","homepage":"","size":1906,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"choonkending:master","ref":"master","sha":"3b198f11185eceed4af40324d0612f8cfac635e5","user":{"login":"choonkending","id":3787885,"avatar_url":"https://avatars.githubusercontent.com/u/3787885?v=3","gravatar_id":"","url":"https://api.github.com/users/choonkending","html_url":"https://github.com/choonkending","followers_url":"https://api.github.com/users/choonkending/followers","following_url":"https://api.github.com/users/choonkending/following{/other_user}","gists_url":"https://api.github.com/users/choonkending/gists{/gist_id}","starred_url":"https://api.github.com/users/choonkending/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choonkending/subscriptions","organizations_url":"https://api.github.com/users/choonkending/orgs","repos_url":"https://api.github.com/users/choonkending/repos","events_url":"https://api.github.com/users/choonkending/events{/privacy}","received_events_url":"https://api.github.com/users/choonkending/received_events","type":"User","site_admin":false},"repo":{"id":26750407,"name":"react-webpack-node","full_name":"choonkending/react-webpack-node","owner":{"login":"choonkending","id":3787885,"avatar_url":"https://avatars.githubusercontent.com/u/3787885?v=3","gravatar_id":"","url":"https://api.github.com/users/choonkending","html_url":"https://github.com/choonkending","followers_url":"https://api.github.com/users/choonkending/followers","following_url":"https://api.github.com/users/choonkending/following{/other_user}","gists_url":"https://api.github.com/users/choonkending/gists{/gist_id}","starred_url":"https://api.github.com/users/choonkending/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choonkending/subscriptions","organizations_url":"https://api.github.com/users/choonkending/orgs","repos_url":"https://api.github.com/users/choonkending/repos","events_url":"https://api.github.com/users/choonkending/events{/privacy}","received_events_url":"https://api.github.com/users/choonkending/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/choonkending/react-webpack-node","description":"Your One-Stop solution for a full-stack universal Redux App!","fork":false,"url":"https://api.github.com/repos/choonkending/react-webpack-node","forks_url":"https://api.github.com/repos/choonkending/react-webpack-node/forks","keys_url":"https://api.github.com/repos/choonkending/react-webpack-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/choonkending/react-webpack-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/choonkending/react-webpack-node/teams","hooks_url":"https://api.github.com/repos/choonkending/react-webpack-node/hooks","issue_events_url":"https://api.github.com/repos/choonkending/react-webpack-node/issues/events{/number}","events_url":"https://api.github.com/repos/choonkending/react-webpack-node/events","assignees_url":"https://api.github.com/repos/choonkending/react-webpack-node/assignees{/user}","branches_url":"https://api.github.com/repos/choonkending/react-webpack-node/branches{/branch}","tags_url":"https://api.github.com/repos/choonkending/react-webpack-node/tags","blobs_url":"https://api.github.com/repos/choonkending/react-webpack-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/choonkending/react-webpack-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/choonkending/react-webpack-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/choonkending/react-webpack-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/choonkending/react-webpack-node/statuses/{sha}","languages_url":"https://api.github.com/repos/choonkending/react-webpack-node/languages","stargazers_url":"https://api.github.com/repos/choonkending/react-webpack-node/stargazers","contributors_url":"https://api.github.com/repos/choonkending/react-webpack-node/contributors","subscribers_url":"https://api.github.com/repos/choonkending/react-webpack-node/subscribers","subscription_url":"https://api.github.com/repos/choonkending/react-webpack-node/subscription","commits_url":"https://api.github.com/repos/choonkending/react-webpack-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/choonkending/react-webpack-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/choonkending/react-webpack-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/choonkending/react-webpack-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/choonkending/react-webpack-node/contents/{+path}","compare_url":"https://api.github.com/repos/choonkending/react-webpack-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/choonkending/react-webpack-node/merges","archive_url":"https://api.github.com/repos/choonkending/react-webpack-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/choonkending/react-webpack-node/downloads","issues_url":"https://api.github.com/repos/choonkending/react-webpack-node/issues{/number}","pulls_url":"https://api.github.com/repos/choonkending/react-webpack-node/pulls{/number}","milestones_url":"https://api.github.com/repos/choonkending/react-webpack-node/milestones{/number}","notifications_url":"https://api.github.com/repos/choonkending/react-webpack-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/choonkending/react-webpack-node/labels{/name}","releases_url":"https://api.github.com/repos/choonkending/react-webpack-node/releases{/id}","deployments_url":"https://api.github.com/repos/choonkending/react-webpack-node/deployments","created_at":"2014-11-17T09:51:09Z","updated_at":"2016-04-20T05:12:29Z","pushed_at":"2016-04-20T09:13:02Z","git_url":"git://github.com/choonkending/react-webpack-node.git","ssh_url":"git@github.com:choonkending/react-webpack-node.git","clone_url":"https://github.com/choonkending/react-webpack-node.git","svn_url":"https://github.com/choonkending/react-webpack-node","homepage":"","size":2145,"stargazers_count":946,"watchers_count":946,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":186,"mirror_url":null,"open_issues_count":35,"forks":186,"open_issues":35,"watchers":946,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/choonkending/react-webpack-node/pulls/193"},"html":{"href":"https://github.com/choonkending/react-webpack-node/pull/193"},"issue":{"href":"https://api.github.com/repos/choonkending/react-webpack-node/issues/193"},"comments":{"href":"https://api.github.com/repos/choonkending/react-webpack-node/issues/193/comments"},"review_comments":{"href":"https://api.github.com/repos/choonkending/react-webpack-node/pulls/193/comments"},"review_comment":{"href":"https://api.github.com/repos/choonkending/react-webpack-node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/choonkending/react-webpack-node/pulls/193/commits"},"statuses":{"href":"https://api.github.com/repos/choonkending/react-webpack-node/statuses/bb67fea415aed9a06e341de4e2f5558808eebf19"}}}}