{"action":"created","comment":{"url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/pulls/comments/86880061","pull_request_review_id":7515814,"id":86880061,"diff_hunk":"@@ -17,3 +17,31 @@ Within this container, use the provided user maintenance command-line utility to\n To deploy the STT Docker container, run the `deploy.sh` script on the host server.\n \n     ssh -i PRIVATE_KEY_PATH USERNAME@HOSTNAME 'bash -s' < deploy.sh\n+\n+## Setting up a new environment\n+\n+### Cloudformation\n+There is a cloudformation-prod.json file in the repo root.  This is a cloudformation template.  All you need to do is login to AWS and go to the cloudformation service.  You will then create a new stack and give it this file.  When you create the stack it will ask you for all the credentials for this new deployment.  So beforehand you must create username and password for the db, STT, and ODK.  After this template is run and the stack is created there will be an ec2 instance, RDS mysql db, and security groups to go along.","path":"README.md","position":8,"original_position":8,"commit_id":"c2472222ccaab3f47cff470e3c5f61a3bea9fd01","original_commit_id":"c2472222ccaab3f47cff470e3c5f61a3bea9fd01","user":{"login":"seanjh","id":3519957,"avatar_url":"https://avatars.githubusercontent.com/u/3519957?v=3","gravatar_id":"","url":"https://api.github.com/users/seanjh","html_url":"https://github.com/seanjh","followers_url":"https://api.github.com/users/seanjh/followers","following_url":"https://api.github.com/users/seanjh/following{/other_user}","gists_url":"https://api.github.com/users/seanjh/gists{/gist_id}","starred_url":"https://api.github.com/users/seanjh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanjh/subscriptions","organizations_url":"https://api.github.com/users/seanjh/orgs","repos_url":"https://api.github.com/users/seanjh/repos","events_url":"https://api.github.com/users/seanjh/events{/privacy}","received_events_url":"https://api.github.com/users/seanjh/received_events","type":"User","site_admin":false},"body":"This is great! Thanks for getting the ball rolling on updated documentation.\r\n\r\nOn a side note, do you have any idea if it's possible to be more flexible in our CloudFoundation config with the region in which is stack is deployed? (possibly something relevant here -- http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html)\r\n\r\nBarring an enhancement to support any region / availability zone, that AWS region restriction should be added to the README.","created_at":"2016-11-07T22:03:46Z","updated_at":"2016-11-07T22:03:46Z","html_url":"https://github.com/Kharatsa/SampleTransportTracking/pull/2#discussion_r86880061","pull_request_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/pulls/comments/86880061"},"html":{"href":"https://github.com/Kharatsa/SampleTransportTracking/pull/2#discussion_r86880061"},"pull_request":{"href":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/pulls/2","id":92223527,"html_url":"https://github.com/Kharatsa/SampleTransportTracking/pull/2","diff_url":"https://github.com/Kharatsa/SampleTransportTracking/pull/2.diff","patch_url":"https://github.com/Kharatsa/SampleTransportTracking/pull/2.patch","issue_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/issues/2","number":2,"state":"open","locked":false,"title":"Full scale deployment infrastructure","user":{"login":"seanjh","id":3519957,"avatar_url":"https://avatars.githubusercontent.com/u/3519957?v=3","gravatar_id":"","url":"https://api.github.com/users/seanjh","html_url":"https://github.com/seanjh","followers_url":"https://api.github.com/users/seanjh/followers","following_url":"https://api.github.com/users/seanjh/following{/other_user}","gists_url":"https://api.github.com/users/seanjh/gists{/gist_id}","starred_url":"https://api.github.com/users/seanjh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanjh/subscriptions","organizations_url":"https://api.github.com/users/seanjh/orgs","repos_url":"https://api.github.com/users/seanjh/repos","events_url":"https://api.github.com/users/seanjh/events{/privacy}","received_events_url":"https://api.github.com/users/seanjh/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-03T19:27:21Z","updated_at":"2016-11-07T22:03:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"70921a50e42c0a222209f6655b11d4ea51fbad2f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/issues/2/comments","statuses_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/statuses/c2472222ccaab3f47cff470e3c5f61a3bea9fd01","head":{"label":"Kharatsa:sspinner-deploy","ref":"sspinner-deploy","sha":"c2472222ccaab3f47cff470e3c5f61a3bea9fd01","user":{"login":"Kharatsa","id":15017054,"avatar_url":"https://avatars.githubusercontent.com/u/15017054?v=3","gravatar_id":"","url":"https://api.github.com/users/Kharatsa","html_url":"https://github.com/Kharatsa","followers_url":"https://api.github.com/users/Kharatsa/followers","following_url":"https://api.github.com/users/Kharatsa/following{/other_user}","gists_url":"https://api.github.com/users/Kharatsa/gists{/gist_id}","starred_url":"https://api.github.com/users/Kharatsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kharatsa/subscriptions","organizations_url":"https://api.github.com/users/Kharatsa/orgs","repos_url":"https://api.github.com/users/Kharatsa/repos","events_url":"https://api.github.com/users/Kharatsa/events{/privacy}","received_events_url":"https://api.github.com/users/Kharatsa/received_events","type":"Organization","site_admin":false},"repo":{"id":44511991,"name":"SampleTransportTracking","full_name":"Kharatsa/SampleTransportTracking","owner":{"login":"Kharatsa","id":15017054,"avatar_url":"https://avatars.githubusercontent.com/u/15017054?v=3","gravatar_id":"","url":"https://api.github.com/users/Kharatsa","html_url":"https://github.com/Kharatsa","followers_url":"https://api.github.com/users/Kharatsa/followers","following_url":"https://api.github.com/users/Kharatsa/following{/other_user}","gists_url":"https://api.github.com/users/Kharatsa/gists{/gist_id}","starred_url":"https://api.github.com/users/Kharatsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kharatsa/subscriptions","organizations_url":"https://api.github.com/users/Kharatsa/orgs","repos_url":"https://api.github.com/users/Kharatsa/repos","events_url":"https://api.github.com/users/Kharatsa/events{/privacy}","received_events_url":"https://api.github.com/users/Kharatsa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kharatsa/SampleTransportTracking","description":"Lesotho Ministry of Health -- Sample Transport Tracking","fork":false,"url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking","forks_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/forks","keys_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/teams","hooks_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/hooks","issue_events_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/issues/events{/number}","events_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/events","assignees_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/assignees{/user}","branches_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/branches{/branch}","tags_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/tags","blobs_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/statuses/{sha}","languages_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/languages","stargazers_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/stargazers","contributors_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/contributors","subscribers_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/subscribers","subscription_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/subscription","commits_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/contents/{+path}","compare_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/merges","archive_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/downloads","issues_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/issues{/number}","pulls_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/pulls{/number}","milestones_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/milestones{/number}","notifications_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/labels{/name}","releases_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/releases{/id}","deployments_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/deployments","created_at":"2015-10-19T04:53:28Z","updated_at":"2016-10-28T00:09:45Z","pushed_at":"2016-11-07T21:51:00Z","git_url":"git://github.com/Kharatsa/SampleTransportTracking.git","ssh_url":"git@github.com:Kharatsa/SampleTransportTracking.git","clone_url":"https://github.com/Kharatsa/SampleTransportTracking.git","svn_url":"https://github.com/Kharatsa/SampleTransportTracking","homepage":"https://kharatsa.com","size":5088,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"Kharatsa:master","ref":"master","sha":"aa7adfa9afed120aa2427e298de7f1161bef0d4b","user":{"login":"Kharatsa","id":15017054,"avatar_url":"https://avatars.githubusercontent.com/u/15017054?v=3","gravatar_id":"","url":"https://api.github.com/users/Kharatsa","html_url":"https://github.com/Kharatsa","followers_url":"https://api.github.com/users/Kharatsa/followers","following_url":"https://api.github.com/users/Kharatsa/following{/other_user}","gists_url":"https://api.github.com/users/Kharatsa/gists{/gist_id}","starred_url":"https://api.github.com/users/Kharatsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kharatsa/subscriptions","organizations_url":"https://api.github.com/users/Kharatsa/orgs","repos_url":"https://api.github.com/users/Kharatsa/repos","events_url":"https://api.github.com/users/Kharatsa/events{/privacy}","received_events_url":"https://api.github.com/users/Kharatsa/received_events","type":"Organization","site_admin":false},"repo":{"id":44511991,"name":"SampleTransportTracking","full_name":"Kharatsa/SampleTransportTracking","owner":{"login":"Kharatsa","id":15017054,"avatar_url":"https://avatars.githubusercontent.com/u/15017054?v=3","gravatar_id":"","url":"https://api.github.com/users/Kharatsa","html_url":"https://github.com/Kharatsa","followers_url":"https://api.github.com/users/Kharatsa/followers","following_url":"https://api.github.com/users/Kharatsa/following{/other_user}","gists_url":"https://api.github.com/users/Kharatsa/gists{/gist_id}","starred_url":"https://api.github.com/users/Kharatsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kharatsa/subscriptions","organizations_url":"https://api.github.com/users/Kharatsa/orgs","repos_url":"https://api.github.com/users/Kharatsa/repos","events_url":"https://api.github.com/users/Kharatsa/events{/privacy}","received_events_url":"https://api.github.com/users/Kharatsa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kharatsa/SampleTransportTracking","description":"Lesotho Ministry of Health -- Sample Transport Tracking","fork":false,"url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking","forks_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/forks","keys_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/teams","hooks_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/hooks","issue_events_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/issues/events{/number}","events_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/events","assignees_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/assignees{/user}","branches_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/branches{/branch}","tags_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/tags","blobs_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/statuses/{sha}","languages_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/languages","stargazers_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/stargazers","contributors_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/contributors","subscribers_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/subscribers","subscription_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/subscription","commits_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/contents/{+path}","compare_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/merges","archive_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/downloads","issues_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/issues{/number}","pulls_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/pulls{/number}","milestones_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/milestones{/number}","notifications_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/labels{/name}","releases_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/releases{/id}","deployments_url":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/deployments","created_at":"2015-10-19T04:53:28Z","updated_at":"2016-10-28T00:09:45Z","pushed_at":"2016-11-07T21:51:00Z","git_url":"git://github.com/Kharatsa/SampleTransportTracking.git","ssh_url":"git@github.com:Kharatsa/SampleTransportTracking.git","clone_url":"https://github.com/Kharatsa/SampleTransportTracking.git","svn_url":"https://github.com/Kharatsa/SampleTransportTracking","homepage":"https://kharatsa.com","size":5088,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/pulls/2"},"html":{"href":"https://github.com/Kharatsa/SampleTransportTracking/pull/2"},"issue":{"href":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/issues/2"},"comments":{"href":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Kharatsa/SampleTransportTracking/statuses/c2472222ccaab3f47cff470e3c5f61a3bea9fd01"}}}}
{"actor":{"display_login":"seanjh"}}