{"action":"created","comment":{"url":"https://api.github.com/repos/interbit/docs-interbit/pulls/comments/207404969","pull_request_review_id":142902387,"id":207404969,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzQwNDk2OQ==","diff_hunk":"@@ -0,0 +1,49 @@\n+# User Walk-through of the Platform Example\n+\n+## Creating an account and going through the GitHub OAuth loop\n+\n+Open the accounts app in your browser at `http://localhost:3025`. If you open \n+your browser's developer tools to the console tab, you can see some \n+`interbit-middleware` log messages being printed. The accounts app is fully up \n+and running once you see the `interbit-middleware/CHAIN_BLOCKING` status for \n+the `accountsPrivate` chain. At this point, you will be able to dispatch \n+actions to your private account chain.  \n+\n+From the main accounts app page, click on the **Create Account / Sign in** \n+link in the header, which navigates you to the `create-account` page. Click \n+the **Create Account** button, check that you have read the disclaimer and \n+click **Continue** in the modal.\n+\n+If you're already signed into your GitHub account, you will be directed to the \n+your personal account page. Otherwise, you will be redirected to GitHub and \n+prompted to enter your GitHub credentials. Enter your credentials and sign in. \n+You should be redirected back to the accounts app. \n+\n+You will see a number of chain actions being dispatched in the browser console \n+on the accounts app tab. Specifically, after the action type \n+`app-account-my-account/COMPLETE_AUTHENTICATION` is dispatched, the \n+`chainState.profile` property is updated with your GitHub identity \n+information. You can also verify that the OAuth loop was successful if you see \n+your GitHub username appear in the header. \n+\n+Congratulations, you have now created an Interbit account. You can make \n+changes to your personal account information and see how the chain blocks with \n+every change. The **Block Explorer** page has a handy user interface for \n+viewing the blocks and the private account chain's state. \n+\n+## Allowing another application to connect to your private account chain\n+\n+Now that we've created a user account on the accounts app, we'll authorize the \n+`interbit-template` app.\n+\n+Open the template app in your browser at `http://localhost:3000`. You should \n+see the browser console print out `interbit-middleware/CHAIN_BLOCKING` for the \n+`templatePrivate` chain. You'll also see a printout of the chain state on the \n+template app's `/chains` page. \n+\n+We'll now make a chain authorization request from the template app to the ","path":"examples/simple-platform/user-walk-through.md","position":null,"original_position":44,"commit_id":"d10ecba4933259ec2e8e63d4d834d3d5379e6ea6","original_commit_id":"560490dc24134aaa4d752a7c5832b2b5c5c84301","user":{"login":"btlewan","id":39922476,"node_id":"MDQ6VXNlcjM5OTIyNDc2","avatar_url":"https://avatars3.githubusercontent.com/u/39922476?v=4","gravatar_id":"","url":"https://api.github.com/users/btlewan","html_url":"https://github.com/btlewan","followers_url":"https://api.github.com/users/btlewan/followers","following_url":"https://api.github.com/users/btlewan/following{/other_user}","gists_url":"https://api.github.com/users/btlewan/gists{/gist_id}","starred_url":"https://api.github.com/users/btlewan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btlewan/subscriptions","organizations_url":"https://api.github.com/users/btlewan/orgs","repos_url":"https://api.github.com/users/btlewan/repos","events_url":"https://api.github.com/users/btlewan/events{/privacy}","received_events_url":"https://api.github.com/users/btlewan/received_events","type":"User","site_admin":false},"body":"Avoid future tense and unnecessary contractions: `We can now make...`","created_at":"2018-08-02T23:32:46Z","updated_at":"2018-08-02T23:34:35Z","html_url":"https://github.com/interbit/docs-interbit/pull/7#discussion_r207404969","pull_request_url":"https://api.github.com/repos/interbit/docs-interbit/pulls/7","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/interbit/docs-interbit/pulls/comments/207404969"},"html":{"href":"https://github.com/interbit/docs-interbit/pull/7#discussion_r207404969"},"pull_request":{"href":"https://api.github.com/repos/interbit/docs-interbit/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/interbit/docs-interbit/pulls/7","id":203682888,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzNjgyODg4","html_url":"https://github.com/interbit/docs-interbit/pull/7","diff_url":"https://github.com/interbit/docs-interbit/pull/7.diff","patch_url":"https://github.com/interbit/docs-interbit/pull/7.patch","issue_url":"https://api.github.com/repos/interbit/docs-interbit/issues/7","number":7,"state":"open","locked":false,"title":"Document how to run web-auth-endpoint locally","user":{"login":"karikushi","id":5544358,"node_id":"MDQ6VXNlcjU1NDQzNTg=","avatar_url":"https://avatars0.githubusercontent.com/u/5544358?v=4","gravatar_id":"","url":"https://api.github.com/users/karikushi","html_url":"https://github.com/karikushi","followers_url":"https://api.github.com/users/karikushi/followers","following_url":"https://api.github.com/users/karikushi/following{/other_user}","gists_url":"https://api.github.com/users/karikushi/gists{/gist_id}","starred_url":"https://api.github.com/users/karikushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karikushi/subscriptions","organizations_url":"https://api.github.com/users/karikushi/orgs","repos_url":"https://api.github.com/users/karikushi/repos","events_url":"https://api.github.com/users/karikushi/events{/privacy}","received_events_url":"https://api.github.com/users/karikushi/received_events","type":"User","site_admin":false},"body":"Related to Issue 215 in the Interbit repo (https://github.com/interbit/interbit/issues/215).\r\n\r\n- added a doc for setting up and running `platform-deploy` locally\r\n- added a doc for setting up and running `web-auth-endpoint` locally\r\n- referenced very briefly that the GitHub OAuth loop on the accounts app works locally via these steps\r\n\r\nI consider this a skeleton/draft, so any input on how to improve this would be appreciated. \r\n","created_at":"2018-07-24T23:32:39Z","updated_at":"2018-08-02T23:34:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a9d0967343f4f1e19c0247c393c382589c759656","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/interbit/docs-interbit/pulls/7/commits","review_comments_url":"https://api.github.com/repos/interbit/docs-interbit/pulls/7/comments","review_comment_url":"https://api.github.com/repos/interbit/docs-interbit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/interbit/docs-interbit/issues/7/comments","statuses_url":"https://api.github.com/repos/interbit/docs-interbit/statuses/d10ecba4933259ec2e8e63d4d834d3d5379e6ea6","head":{"label":"interbit:web-auth-endpoint","ref":"web-auth-endpoint","sha":"d10ecba4933259ec2e8e63d4d834d3d5379e6ea6","user":{"login":"interbit","id":34113067,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTEzMDY3","avatar_url":"https://avatars1.githubusercontent.com/u/34113067?v=4","gravatar_id":"","url":"https://api.github.com/users/interbit","html_url":"https://github.com/interbit","followers_url":"https://api.github.com/users/interbit/followers","following_url":"https://api.github.com/users/interbit/following{/other_user}","gists_url":"https://api.github.com/users/interbit/gists{/gist_id}","starred_url":"https://api.github.com/users/interbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interbit/subscriptions","organizations_url":"https://api.github.com/users/interbit/orgs","repos_url":"https://api.github.com/users/interbit/repos","events_url":"https://api.github.com/users/interbit/events{/privacy}","received_events_url":"https://api.github.com/users/interbit/received_events","type":"Organization","site_admin":false},"repo":{"id":139909464,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk5MDk0NjQ=","name":"docs-interbit","full_name":"interbit/docs-interbit","owner":{"login":"interbit","id":34113067,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTEzMDY3","avatar_url":"https://avatars1.githubusercontent.com/u/34113067?v=4","gravatar_id":"","url":"https://api.github.com/users/interbit","html_url":"https://github.com/interbit","followers_url":"https://api.github.com/users/interbit/followers","following_url":"https://api.github.com/users/interbit/following{/other_user}","gists_url":"https://api.github.com/users/interbit/gists{/gist_id}","starred_url":"https://api.github.com/users/interbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interbit/subscriptions","organizations_url":"https://api.github.com/users/interbit/orgs","repos_url":"https://api.github.com/users/interbit/repos","events_url":"https://api.github.com/users/interbit/events{/privacy}","received_events_url":"https://api.github.com/users/interbit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/interbit/docs-interbit","description":"The Interbit SDK documentation","fork":false,"url":"https://api.github.com/repos/interbit/docs-interbit","forks_url":"https://api.github.com/repos/interbit/docs-interbit/forks","keys_url":"https://api.github.com/repos/interbit/docs-interbit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/interbit/docs-interbit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/interbit/docs-interbit/teams","hooks_url":"https://api.github.com/repos/interbit/docs-interbit/hooks","issue_events_url":"https://api.github.com/repos/interbit/docs-interbit/issues/events{/number}","events_url":"https://api.github.com/repos/interbit/docs-interbit/events","assignees_url":"https://api.github.com/repos/interbit/docs-interbit/assignees{/user}","branches_url":"https://api.github.com/repos/interbit/docs-interbit/branches{/branch}","tags_url":"https://api.github.com/repos/interbit/docs-interbit/tags","blobs_url":"https://api.github.com/repos/interbit/docs-interbit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/interbit/docs-interbit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/interbit/docs-interbit/git/refs{/sha}","trees_url":"https://api.github.com/repos/interbit/docs-interbit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/interbit/docs-interbit/statuses/{sha}","languages_url":"https://api.github.com/repos/interbit/docs-interbit/languages","stargazers_url":"https://api.github.com/repos/interbit/docs-interbit/stargazers","contributors_url":"https://api.github.com/repos/interbit/docs-interbit/contributors","subscribers_url":"https://api.github.com/repos/interbit/docs-interbit/subscribers","subscription_url":"https://api.github.com/repos/interbit/docs-interbit/subscription","commits_url":"https://api.github.com/repos/interbit/docs-interbit/commits{/sha}","git_commits_url":"https://api.github.com/repos/interbit/docs-interbit/git/commits{/sha}","comments_url":"https://api.github.com/repos/interbit/docs-interbit/comments{/number}","issue_comment_url":"https://api.github.com/repos/interbit/docs-interbit/issues/comments{/number}","contents_url":"https://api.github.com/repos/interbit/docs-interbit/contents/{+path}","compare_url":"https://api.github.com/repos/interbit/docs-interbit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/interbit/docs-interbit/merges","archive_url":"https://api.github.com/repos/interbit/docs-interbit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/interbit/docs-interbit/downloads","issues_url":"https://api.github.com/repos/interbit/docs-interbit/issues{/number}","pulls_url":"https://api.github.com/repos/interbit/docs-interbit/pulls{/number}","milestones_url":"https://api.github.com/repos/interbit/docs-interbit/milestones{/number}","notifications_url":"https://api.github.com/repos/interbit/docs-interbit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/interbit/docs-interbit/labels{/name}","releases_url":"https://api.github.com/repos/interbit/docs-interbit/releases{/id}","deployments_url":"https://api.github.com/repos/interbit/docs-interbit/deployments","created_at":"2018-07-05T23:13:46Z","updated_at":"2018-07-25T21:21:22Z","pushed_at":"2018-08-02T21:34:59Z","git_url":"git://github.com/interbit/docs-interbit.git","ssh_url":"git@github.com:interbit/docs-interbit.git","clone_url":"https://github.com/interbit/docs-interbit.git","svn_url":"https://github.com/interbit/docs-interbit","homepage":"https://docs.interbit.io/","size":2724,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"interbit:master","ref":"master","sha":"9e5fbed69a13e4b88bb6526531ba71d986a15e1c","user":{"login":"interbit","id":34113067,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTEzMDY3","avatar_url":"https://avatars1.githubusercontent.com/u/34113067?v=4","gravatar_id":"","url":"https://api.github.com/users/interbit","html_url":"https://github.com/interbit","followers_url":"https://api.github.com/users/interbit/followers","following_url":"https://api.github.com/users/interbit/following{/other_user}","gists_url":"https://api.github.com/users/interbit/gists{/gist_id}","starred_url":"https://api.github.com/users/interbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interbit/subscriptions","organizations_url":"https://api.github.com/users/interbit/orgs","repos_url":"https://api.github.com/users/interbit/repos","events_url":"https://api.github.com/users/interbit/events{/privacy}","received_events_url":"https://api.github.com/users/interbit/received_events","type":"Organization","site_admin":false},"repo":{"id":139909464,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk5MDk0NjQ=","name":"docs-interbit","full_name":"interbit/docs-interbit","owner":{"login":"interbit","id":34113067,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MTEzMDY3","avatar_url":"https://avatars1.githubusercontent.com/u/34113067?v=4","gravatar_id":"","url":"https://api.github.com/users/interbit","html_url":"https://github.com/interbit","followers_url":"https://api.github.com/users/interbit/followers","following_url":"https://api.github.com/users/interbit/following{/other_user}","gists_url":"https://api.github.com/users/interbit/gists{/gist_id}","starred_url":"https://api.github.com/users/interbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interbit/subscriptions","organizations_url":"https://api.github.com/users/interbit/orgs","repos_url":"https://api.github.com/users/interbit/repos","events_url":"https://api.github.com/users/interbit/events{/privacy}","received_events_url":"https://api.github.com/users/interbit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/interbit/docs-interbit","description":"The Interbit SDK documentation","fork":false,"url":"https://api.github.com/repos/interbit/docs-interbit","forks_url":"https://api.github.com/repos/interbit/docs-interbit/forks","keys_url":"https://api.github.com/repos/interbit/docs-interbit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/interbit/docs-interbit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/interbit/docs-interbit/teams","hooks_url":"https://api.github.com/repos/interbit/docs-interbit/hooks","issue_events_url":"https://api.github.com/repos/interbit/docs-interbit/issues/events{/number}","events_url":"https://api.github.com/repos/interbit/docs-interbit/events","assignees_url":"https://api.github.com/repos/interbit/docs-interbit/assignees{/user}","branches_url":"https://api.github.com/repos/interbit/docs-interbit/branches{/branch}","tags_url":"https://api.github.com/repos/interbit/docs-interbit/tags","blobs_url":"https://api.github.com/repos/interbit/docs-interbit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/interbit/docs-interbit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/interbit/docs-interbit/git/refs{/sha}","trees_url":"https://api.github.com/repos/interbit/docs-interbit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/interbit/docs-interbit/statuses/{sha}","languages_url":"https://api.github.com/repos/interbit/docs-interbit/languages","stargazers_url":"https://api.github.com/repos/interbit/docs-interbit/stargazers","contributors_url":"https://api.github.com/repos/interbit/docs-interbit/contributors","subscribers_url":"https://api.github.com/repos/interbit/docs-interbit/subscribers","subscription_url":"https://api.github.com/repos/interbit/docs-interbit/subscription","commits_url":"https://api.github.com/repos/interbit/docs-interbit/commits{/sha}","git_commits_url":"https://api.github.com/repos/interbit/docs-interbit/git/commits{/sha}","comments_url":"https://api.github.com/repos/interbit/docs-interbit/comments{/number}","issue_comment_url":"https://api.github.com/repos/interbit/docs-interbit/issues/comments{/number}","contents_url":"https://api.github.com/repos/interbit/docs-interbit/contents/{+path}","compare_url":"https://api.github.com/repos/interbit/docs-interbit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/interbit/docs-interbit/merges","archive_url":"https://api.github.com/repos/interbit/docs-interbit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/interbit/docs-interbit/downloads","issues_url":"https://api.github.com/repos/interbit/docs-interbit/issues{/number}","pulls_url":"https://api.github.com/repos/interbit/docs-interbit/pulls{/number}","milestones_url":"https://api.github.com/repos/interbit/docs-interbit/milestones{/number}","notifications_url":"https://api.github.com/repos/interbit/docs-interbit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/interbit/docs-interbit/labels{/name}","releases_url":"https://api.github.com/repos/interbit/docs-interbit/releases{/id}","deployments_url":"https://api.github.com/repos/interbit/docs-interbit/deployments","created_at":"2018-07-05T23:13:46Z","updated_at":"2018-07-25T21:21:22Z","pushed_at":"2018-08-02T21:34:59Z","git_url":"git://github.com/interbit/docs-interbit.git","ssh_url":"git@github.com:interbit/docs-interbit.git","clone_url":"https://github.com/interbit/docs-interbit.git","svn_url":"https://github.com/interbit/docs-interbit","homepage":"https://docs.interbit.io/","size":2724,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/interbit/docs-interbit/pulls/7"},"html":{"href":"https://github.com/interbit/docs-interbit/pull/7"},"issue":{"href":"https://api.github.com/repos/interbit/docs-interbit/issues/7"},"comments":{"href":"https://api.github.com/repos/interbit/docs-interbit/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/interbit/docs-interbit/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/interbit/docs-interbit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/interbit/docs-interbit/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/interbit/docs-interbit/statuses/d10ecba4933259ec2e8e63d4d834d3d5379e6ea6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"btlewan"}}