{"action":"opened","number":20,"pull_request":{"url":"https://api.github.com/repos/andela/ah-code-titans/pulls/20","id":238453719,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4NDUzNzE5","html_url":"https://github.com/andela/ah-code-titans/pull/20","diff_url":"https://github.com/andela/ah-code-titans/pull/20.diff","patch_url":"https://github.com/andela/ah-code-titans/pull/20.patch","issue_url":"https://api.github.com/repos/andela/ah-code-titans/issues/20","number":20,"state":"open","locked":false,"title":"#161967135 Users can follow each other","user":{"login":"Bryan-Cee","id":19145546,"node_id":"MDQ6VXNlcjE5MTQ1NTQ2","avatar_url":"https://avatars1.githubusercontent.com/u/19145546?v=4","gravatar_id":"","url":"https://api.github.com/users/Bryan-Cee","html_url":"https://github.com/Bryan-Cee","followers_url":"https://api.github.com/users/Bryan-Cee/followers","following_url":"https://api.github.com/users/Bryan-Cee/following{/other_user}","gists_url":"https://api.github.com/users/Bryan-Cee/gists{/gist_id}","starred_url":"https://api.github.com/users/Bryan-Cee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bryan-Cee/subscriptions","organizations_url":"https://api.github.com/users/Bryan-Cee/orgs","repos_url":"https://api.github.com/users/Bryan-Cee/repos","events_url":"https://api.github.com/users/Bryan-Cee/events{/privacy}","received_events_url":"https://api.github.com/users/Bryan-Cee/received_events","type":"User","site_admin":false},"body":"**What does this PR do?**\r\n\r\nEnable users to follow each other\r\n\r\n**Description of tasks to be completed**\r\n\r\n- Implement feature for following users\r\n- Write tests for this functionality.\r\n\r\n**How should this be manually tested?**\r\n\r\n- Clone the repo from your terminal: `git clone https://github.com/andela/ah-code-titans.git`\r\n- Create a virtual environment:` python3 -m venv <name_of_environment>`\r\n- Activate the virtual environment: `source <name_of_environment>/bin/activate`\r\n- Install project dependencies: `pip install -r requirements.txt`\r\n- Add the following environment variables and populate them with your settings:\r\n```\r\nexport DB_NAME='choose_a_dbname'\r\nexport DB_USER='db_username'\r\nexport DB_PASSWORD='db_role_password'\r\nexport DB_HOST='localhost or preffered host'\r\nexport DB_PORT='server_port_number'\r\nexport SECRET_KEY='your_secret_key'\r\nexport EMAIL_HOST_USER=\"codetitans32@gmail.com\"\r\nexport EMAIL_HOST_PASSWORD='Codetitans@32'\r\n```\r\n\r\n- Switch to the appropriate branch: `git checkout ft-follow-user-161967135`\r\n- Run migrations:\r\n- python manage.py makemigrations\r\n- python manage.py migrate\r\n- Run tests: python manage.py test\r\n\r\n**What are the relevant Pivotal Tracker stories?**\r\n[#161967135](https://www.pivotaltracker.com/story/show/161967135)","created_at":"2018-12-13T16:32:54Z","updated_at":"2018-12-13T16:32:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/ah-code-titans/pulls/20/commits","review_comments_url":"https://api.github.com/repos/andela/ah-code-titans/pulls/20/comments","review_comment_url":"https://api.github.com/repos/andela/ah-code-titans/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/ah-code-titans/issues/20/comments","statuses_url":"https://api.github.com/repos/andela/ah-code-titans/statuses/e1f614667137010384f80283c5746e61afb772f2","head":{"label":"andela:ft-follow-user-161967135","ref":"ft-follow-user-161967135","sha":"e1f614667137010384f80283c5746e61afb772f2","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":157215905,"node_id":"MDEwOlJlcG9zaXRvcnkxNTcyMTU5MDU=","name":"ah-code-titans","full_name":"andela/ah-code-titans","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/ah-code-titans","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ah-code-titans","forks_url":"https://api.github.com/repos/andela/ah-code-titans/forks","keys_url":"https://api.github.com/repos/andela/ah-code-titans/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ah-code-titans/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ah-code-titans/teams","hooks_url":"https://api.github.com/repos/andela/ah-code-titans/hooks","issue_events_url":"https://api.github.com/repos/andela/ah-code-titans/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ah-code-titans/events","assignees_url":"https://api.github.com/repos/andela/ah-code-titans/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ah-code-titans/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ah-code-titans/tags","blobs_url":"https://api.github.com/repos/andela/ah-code-titans/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ah-code-titans/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ah-code-titans/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ah-code-titans/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ah-code-titans/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ah-code-titans/languages","stargazers_url":"https://api.github.com/repos/andela/ah-code-titans/stargazers","contributors_url":"https://api.github.com/repos/andela/ah-code-titans/contributors","subscribers_url":"https://api.github.com/repos/andela/ah-code-titans/subscribers","subscription_url":"https://api.github.com/repos/andela/ah-code-titans/subscription","commits_url":"https://api.github.com/repos/andela/ah-code-titans/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ah-code-titans/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ah-code-titans/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ah-code-titans/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ah-code-titans/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ah-code-titans/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ah-code-titans/merges","archive_url":"https://api.github.com/repos/andela/ah-code-titans/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ah-code-titans/downloads","issues_url":"https://api.github.com/repos/andela/ah-code-titans/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ah-code-titans/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ah-code-titans/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ah-code-titans/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ah-code-titans/labels{/name}","releases_url":"https://api.github.com/repos/andela/ah-code-titans/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ah-code-titans/deployments","created_at":"2018-11-12T13:13:43Z","updated_at":"2018-11-26T11:58:18Z","pushed_at":"2018-12-13T16:30:49Z","git_url":"git://github.com/andela/ah-code-titans.git","ssh_url":"git@github.com:andela/ah-code-titans.git","clone_url":"https://github.com/andela/ah-code-titans.git","svn_url":"https://github.com/andela/ah-code-titans","homepage":null,"size":111,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"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","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"andela:develop","ref":"develop","sha":"333728fe0964bac5e677df735381661d7da05984","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":157215905,"node_id":"MDEwOlJlcG9zaXRvcnkxNTcyMTU5MDU=","name":"ah-code-titans","full_name":"andela/ah-code-titans","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/ah-code-titans","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ah-code-titans","forks_url":"https://api.github.com/repos/andela/ah-code-titans/forks","keys_url":"https://api.github.com/repos/andela/ah-code-titans/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ah-code-titans/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ah-code-titans/teams","hooks_url":"https://api.github.com/repos/andela/ah-code-titans/hooks","issue_events_url":"https://api.github.com/repos/andela/ah-code-titans/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ah-code-titans/events","assignees_url":"https://api.github.com/repos/andela/ah-code-titans/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ah-code-titans/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ah-code-titans/tags","blobs_url":"https://api.github.com/repos/andela/ah-code-titans/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ah-code-titans/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ah-code-titans/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ah-code-titans/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ah-code-titans/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ah-code-titans/languages","stargazers_url":"https://api.github.com/repos/andela/ah-code-titans/stargazers","contributors_url":"https://api.github.com/repos/andela/ah-code-titans/contributors","subscribers_url":"https://api.github.com/repos/andela/ah-code-titans/subscribers","subscription_url":"https://api.github.com/repos/andela/ah-code-titans/subscription","commits_url":"https://api.github.com/repos/andela/ah-code-titans/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ah-code-titans/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ah-code-titans/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ah-code-titans/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ah-code-titans/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ah-code-titans/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ah-code-titans/merges","archive_url":"https://api.github.com/repos/andela/ah-code-titans/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ah-code-titans/downloads","issues_url":"https://api.github.com/repos/andela/ah-code-titans/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ah-code-titans/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ah-code-titans/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ah-code-titans/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ah-code-titans/labels{/name}","releases_url":"https://api.github.com/repos/andela/ah-code-titans/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ah-code-titans/deployments","created_at":"2018-11-12T13:13:43Z","updated_at":"2018-11-26T11:58:18Z","pushed_at":"2018-12-13T16:30:49Z","git_url":"git://github.com/andela/ah-code-titans.git","ssh_url":"git@github.com:andela/ah-code-titans.git","clone_url":"https://github.com/andela/ah-code-titans.git","svn_url":"https://github.com/andela/ah-code-titans","homepage":null,"size":111,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"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","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/ah-code-titans/pulls/20"},"html":{"href":"https://github.com/andela/ah-code-titans/pull/20"},"issue":{"href":"https://api.github.com/repos/andela/ah-code-titans/issues/20"},"comments":{"href":"https://api.github.com/repos/andela/ah-code-titans/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/ah-code-titans/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/ah-code-titans/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/ah-code-titans/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/andela/ah-code-titans/statuses/e1f614667137010384f80283c5746e61afb772f2"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":6,"additions":825,"deletions":18,"changed_files":30}}
{"actor":{"display_login":"Bryan-Cee"}}