{"action":"created","comment":{"url":"https://api.github.com/repos/CSDTs/SGIS-backend/pulls/comments/166390775","pull_request_review_id":94445044,"id":166390775,"diff_hunk":"@@ -0,0 +1,73 @@\n+#!/bin/bash\n+\n+# Essentials\n+echo \"Getting essentials\"\n+echo\n+echo\n+sudo apt-get -y update\n+sudo apt-get -y install python-dev build-essential\n+\n+# Pip and Virtualenv\n+echo \"Getting pip, virtualenv, and pip libraries\"\n+echo\n+echo\n+sudo apt-get -y install python-pip\n+sudo pip install virtualenv\n+sudo apt-get -y install libcurl4-openssl-dev\n+sudo apt-get -y install libpq-dev\n+pip install https://github.com/djangonauts/django-rest-framework-gis/tarball/master\n+sudo pip install --upgrade -r /vagrant/libraries.txt\n+\n+# Install Postgre and PostGIS\n+echo \"Getting PostgreSQL and PostGIS\"\n+echo\n+echo\n+sudo apt-get -y install postgresql-9.5 postgresql-9.5-postgis-2.2 pgadmin3 postgresql-contrib\n+sudo apt-get -y install libxml2-dev\n+sudo apt-get -y install libgdal1-dev\n+sudo apt-get -y install postgis*\n+wget http://download.osgeo.org/postgis/source/postgis-2.4.3.tar.gz\n+tar xvzf postgis-2.4.3.tar.gz\n+cd postgis-2.4.3\n+./configure\n+make\n+make install\n+sudo su - postgres -c createdb django_test exit","path":"bin/setup.sh","position":35,"original_position":35,"commit_id":"6c7029b21894153faa0fb8e5739b97e9afa15ee0","original_commit_id":"6c7029b21894153faa0fb8e5739b97e9afa15ee0","user":{"login":"SillyInventor","id":8440451,"avatar_url":"https://avatars0.githubusercontent.com/u/8440451?v=4","gravatar_id":"","url":"https://api.github.com/users/SillyInventor","html_url":"https://github.com/SillyInventor","followers_url":"https://api.github.com/users/SillyInventor/followers","following_url":"https://api.github.com/users/SillyInventor/following{/other_user}","gists_url":"https://api.github.com/users/SillyInventor/gists{/gist_id}","starred_url":"https://api.github.com/users/SillyInventor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SillyInventor/subscriptions","organizations_url":"https://api.github.com/users/SillyInventor/orgs","repos_url":"https://api.github.com/users/SillyInventor/repos","events_url":"https://api.github.com/users/SillyInventor/events{/privacy}","received_events_url":"https://api.github.com/users/SillyInventor/received_events","type":"User","site_admin":false},"body":"Someone forgot quotes. And you don't need exit.","created_at":"2018-02-06T18:03:29Z","updated_at":"2018-02-06T18:05:43Z","html_url":"https://github.com/CSDTs/SGIS-backend/pull/13#discussion_r166390775","pull_request_url":"https://api.github.com/repos/CSDTs/SGIS-backend/pulls/13","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/CSDTs/SGIS-backend/pulls/comments/166390775"},"html":{"href":"https://github.com/CSDTs/SGIS-backend/pull/13#discussion_r166390775"},"pull_request":{"href":"https://api.github.com/repos/CSDTs/SGIS-backend/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/CSDTs/SGIS-backend/pulls/13","id":166936009,"html_url":"https://github.com/CSDTs/SGIS-backend/pull/13","diff_url":"https://github.com/CSDTs/SGIS-backend/pull/13.diff","patch_url":"https://github.com/CSDTs/SGIS-backend/pull/13.patch","issue_url":"https://api.github.com/repos/CSDTs/SGIS-backend/issues/13","number":13,"state":"open","locked":false,"title":"Added setup.sh","user":{"login":"Timothyw0","id":30346660,"avatar_url":"https://avatars3.githubusercontent.com/u/30346660?v=4","gravatar_id":"","url":"https://api.github.com/users/Timothyw0","html_url":"https://github.com/Timothyw0","followers_url":"https://api.github.com/users/Timothyw0/followers","following_url":"https://api.github.com/users/Timothyw0/following{/other_user}","gists_url":"https://api.github.com/users/Timothyw0/gists{/gist_id}","starred_url":"https://api.github.com/users/Timothyw0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timothyw0/subscriptions","organizations_url":"https://api.github.com/users/Timothyw0/orgs","repos_url":"https://api.github.com/users/Timothyw0/repos","events_url":"https://api.github.com/users/Timothyw0/events{/privacy}","received_events_url":"https://api.github.com/users/Timothyw0/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-03T00:59:32Z","updated_at":"2018-02-06T18:05:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c1d3473a7761aaf7a9b78942d4d87f832709fe31","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/CSDTs/SGIS-backend/pulls/13/commits","review_comments_url":"https://api.github.com/repos/CSDTs/SGIS-backend/pulls/13/comments","review_comment_url":"https://api.github.com/repos/CSDTs/SGIS-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CSDTs/SGIS-backend/issues/13/comments","statuses_url":"https://api.github.com/repos/CSDTs/SGIS-backend/statuses/6c7029b21894153faa0fb8e5739b97e9afa15ee0","head":{"label":"CSDTs:Tim-Wang-CSTEM","ref":"Tim-Wang-CSTEM","sha":"6c7029b21894153faa0fb8e5739b97e9afa15ee0","user":{"login":"CSDTs","id":1864629,"avatar_url":"https://avatars3.githubusercontent.com/u/1864629?v=4","gravatar_id":"","url":"https://api.github.com/users/CSDTs","html_url":"https://github.com/CSDTs","followers_url":"https://api.github.com/users/CSDTs/followers","following_url":"https://api.github.com/users/CSDTs/following{/other_user}","gists_url":"https://api.github.com/users/CSDTs/gists{/gist_id}","starred_url":"https://api.github.com/users/CSDTs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSDTs/subscriptions","organizations_url":"https://api.github.com/users/CSDTs/orgs","repos_url":"https://api.github.com/users/CSDTs/repos","events_url":"https://api.github.com/users/CSDTs/events{/privacy}","received_events_url":"https://api.github.com/users/CSDTs/received_events","type":"Organization","site_admin":false},"repo":{"id":20937312,"name":"SGIS-backend","full_name":"CSDTs/SGIS-backend","owner":{"login":"CSDTs","id":1864629,"avatar_url":"https://avatars3.githubusercontent.com/u/1864629?v=4","gravatar_id":"","url":"https://api.github.com/users/CSDTs","html_url":"https://github.com/CSDTs","followers_url":"https://api.github.com/users/CSDTs/followers","following_url":"https://api.github.com/users/CSDTs/following{/other_user}","gists_url":"https://api.github.com/users/CSDTs/gists{/gist_id}","starred_url":"https://api.github.com/users/CSDTs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSDTs/subscriptions","organizations_url":"https://api.github.com/users/CSDTs/orgs","repos_url":"https://api.github.com/users/CSDTs/repos","events_url":"https://api.github.com/users/CSDTs/events{/privacy}","received_events_url":"https://api.github.com/users/CSDTs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CSDTs/SGIS-backend","description":"The Django side of the GIS Social Justice CSDT for the 3Helix program","fork":false,"url":"https://api.github.com/repos/CSDTs/SGIS-backend","forks_url":"https://api.github.com/repos/CSDTs/SGIS-backend/forks","keys_url":"https://api.github.com/repos/CSDTs/SGIS-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CSDTs/SGIS-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CSDTs/SGIS-backend/teams","hooks_url":"https://api.github.com/repos/CSDTs/SGIS-backend/hooks","issue_events_url":"https://api.github.com/repos/CSDTs/SGIS-backend/issues/events{/number}","events_url":"https://api.github.com/repos/CSDTs/SGIS-backend/events","assignees_url":"https://api.github.com/repos/CSDTs/SGIS-backend/assignees{/user}","branches_url":"https://api.github.com/repos/CSDTs/SGIS-backend/branches{/branch}","tags_url":"https://api.github.com/repos/CSDTs/SGIS-backend/tags","blobs_url":"https://api.github.com/repos/CSDTs/SGIS-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CSDTs/SGIS-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CSDTs/SGIS-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/CSDTs/SGIS-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CSDTs/SGIS-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/CSDTs/SGIS-backend/languages","stargazers_url":"https://api.github.com/repos/CSDTs/SGIS-backend/stargazers","contributors_url":"https://api.github.com/repos/CSDTs/SGIS-backend/contributors","subscribers_url":"https://api.github.com/repos/CSDTs/SGIS-backend/subscribers","subscription_url":"https://api.github.com/repos/CSDTs/SGIS-backend/subscription","commits_url":"https://api.github.com/repos/CSDTs/SGIS-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/CSDTs/SGIS-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/CSDTs/SGIS-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/CSDTs/SGIS-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/CSDTs/SGIS-backend/contents/{+path}","compare_url":"https://api.github.com/repos/CSDTs/SGIS-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CSDTs/SGIS-backend/merges","archive_url":"https://api.github.com/repos/CSDTs/SGIS-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CSDTs/SGIS-backend/downloads","issues_url":"https://api.github.com/repos/CSDTs/SGIS-backend/issues{/number}","pulls_url":"https://api.github.com/repos/CSDTs/SGIS-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/CSDTs/SGIS-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/CSDTs/SGIS-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CSDTs/SGIS-backend/labels{/name}","releases_url":"https://api.github.com/repos/CSDTs/SGIS-backend/releases{/id}","deployments_url":"https://api.github.com/repos/CSDTs/SGIS-backend/deployments","created_at":"2014-06-17T19:46:39Z","updated_at":"2017-06-26T11:24:23Z","pushed_at":"2018-02-05T21:29:15Z","git_url":"git://github.com/CSDTs/SGIS-backend.git","ssh_url":"git@github.com:CSDTs/SGIS-backend.git","clone_url":"https://github.com/CSDTs/SGIS-backend.git","svn_url":"https://github.com/CSDTs/SGIS-backend","homepage":null,"size":58328,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":4,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"CSDTs:master","ref":"master","sha":"01fe50f53ea9d676e95b9881309bcf0bad8e9b2d","user":{"login":"CSDTs","id":1864629,"avatar_url":"https://avatars3.githubusercontent.com/u/1864629?v=4","gravatar_id":"","url":"https://api.github.com/users/CSDTs","html_url":"https://github.com/CSDTs","followers_url":"https://api.github.com/users/CSDTs/followers","following_url":"https://api.github.com/users/CSDTs/following{/other_user}","gists_url":"https://api.github.com/users/CSDTs/gists{/gist_id}","starred_url":"https://api.github.com/users/CSDTs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSDTs/subscriptions","organizations_url":"https://api.github.com/users/CSDTs/orgs","repos_url":"https://api.github.com/users/CSDTs/repos","events_url":"https://api.github.com/users/CSDTs/events{/privacy}","received_events_url":"https://api.github.com/users/CSDTs/received_events","type":"Organization","site_admin":false},"repo":{"id":20937312,"name":"SGIS-backend","full_name":"CSDTs/SGIS-backend","owner":{"login":"CSDTs","id":1864629,"avatar_url":"https://avatars3.githubusercontent.com/u/1864629?v=4","gravatar_id":"","url":"https://api.github.com/users/CSDTs","html_url":"https://github.com/CSDTs","followers_url":"https://api.github.com/users/CSDTs/followers","following_url":"https://api.github.com/users/CSDTs/following{/other_user}","gists_url":"https://api.github.com/users/CSDTs/gists{/gist_id}","starred_url":"https://api.github.com/users/CSDTs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSDTs/subscriptions","organizations_url":"https://api.github.com/users/CSDTs/orgs","repos_url":"https://api.github.com/users/CSDTs/repos","events_url":"https://api.github.com/users/CSDTs/events{/privacy}","received_events_url":"https://api.github.com/users/CSDTs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CSDTs/SGIS-backend","description":"The Django side of the GIS Social Justice CSDT for the 3Helix program","fork":false,"url":"https://api.github.com/repos/CSDTs/SGIS-backend","forks_url":"https://api.github.com/repos/CSDTs/SGIS-backend/forks","keys_url":"https://api.github.com/repos/CSDTs/SGIS-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CSDTs/SGIS-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CSDTs/SGIS-backend/teams","hooks_url":"https://api.github.com/repos/CSDTs/SGIS-backend/hooks","issue_events_url":"https://api.github.com/repos/CSDTs/SGIS-backend/issues/events{/number}","events_url":"https://api.github.com/repos/CSDTs/SGIS-backend/events","assignees_url":"https://api.github.com/repos/CSDTs/SGIS-backend/assignees{/user}","branches_url":"https://api.github.com/repos/CSDTs/SGIS-backend/branches{/branch}","tags_url":"https://api.github.com/repos/CSDTs/SGIS-backend/tags","blobs_url":"https://api.github.com/repos/CSDTs/SGIS-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CSDTs/SGIS-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CSDTs/SGIS-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/CSDTs/SGIS-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CSDTs/SGIS-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/CSDTs/SGIS-backend/languages","stargazers_url":"https://api.github.com/repos/CSDTs/SGIS-backend/stargazers","contributors_url":"https://api.github.com/repos/CSDTs/SGIS-backend/contributors","subscribers_url":"https://api.github.com/repos/CSDTs/SGIS-backend/subscribers","subscription_url":"https://api.github.com/repos/CSDTs/SGIS-backend/subscription","commits_url":"https://api.github.com/repos/CSDTs/SGIS-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/CSDTs/SGIS-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/CSDTs/SGIS-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/CSDTs/SGIS-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/CSDTs/SGIS-backend/contents/{+path}","compare_url":"https://api.github.com/repos/CSDTs/SGIS-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CSDTs/SGIS-backend/merges","archive_url":"https://api.github.com/repos/CSDTs/SGIS-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CSDTs/SGIS-backend/downloads","issues_url":"https://api.github.com/repos/CSDTs/SGIS-backend/issues{/number}","pulls_url":"https://api.github.com/repos/CSDTs/SGIS-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/CSDTs/SGIS-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/CSDTs/SGIS-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CSDTs/SGIS-backend/labels{/name}","releases_url":"https://api.github.com/repos/CSDTs/SGIS-backend/releases{/id}","deployments_url":"https://api.github.com/repos/CSDTs/SGIS-backend/deployments","created_at":"2014-06-17T19:46:39Z","updated_at":"2017-06-26T11:24:23Z","pushed_at":"2018-02-05T21:29:15Z","git_url":"git://github.com/CSDTs/SGIS-backend.git","ssh_url":"git@github.com:CSDTs/SGIS-backend.git","clone_url":"https://github.com/CSDTs/SGIS-backend.git","svn_url":"https://github.com/CSDTs/SGIS-backend","homepage":null,"size":58328,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":4,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CSDTs/SGIS-backend/pulls/13"},"html":{"href":"https://github.com/CSDTs/SGIS-backend/pull/13"},"issue":{"href":"https://api.github.com/repos/CSDTs/SGIS-backend/issues/13"},"comments":{"href":"https://api.github.com/repos/CSDTs/SGIS-backend/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/CSDTs/SGIS-backend/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/CSDTs/SGIS-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CSDTs/SGIS-backend/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/CSDTs/SGIS-backend/statuses/6c7029b21894153faa0fb8e5739b97e9afa15ee0"}},"author_association":"NONE"}}
{"actor":{"display_login":"SillyInventor"}}