{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-documentation/pulls/comments/37010228","id":37010228,"diff_hunk":"@@ -0,0 +1,213 @@\n+.. include:: ../links.rst\n+\n+.. _Installing the Open edX Analytics Developer Stack:\n+\n+#################################################\n+Installing the Open edX Analytics Developer Stack\n+#################################################\n+\n+This chapter is intended for those who are installing and running the Open edX\n+Analytics Developer Stack.\n+\n+.. contents:: Chapter Contents:\n+\n+\n+**********\n+Overview\n+**********\n+\n+The Open edX Analytics Developer stack is an extension to the :ref:`Open edX\n+Developer Stack <Installing the Open edX Developer Stack>`.\n+\n+It provides all of the services and tools needed to extend the Open edX\n+Analytics Pipeline, Data API and Insights projects.\n+\n+********************\n+Components\n+********************\n+\n+The Analytics Devstack includes the following additional components:\n+\n+* edX Analytics Data API\n+* edX Insights\n+\n+Analytics Devstack also includes all components needed to run the edX\n+Analytics Pipeline, the primary Extract Transform and Load (ETL) tool used to\n+exctract and analyze data from the other Open edX services.\n+\n+**************************\n+Software Prerequisites\n+**************************\n+\n+To install and run the Analytics Devstack, you must first install the base\n+:ref:`Open edX Developer Stack <Installing the Open edX Developer Stack>`.\n+\n+Open edX Analytics Pipeline includes a tool that is used to deploy itself.\n+In order to make use of these tools, follow the instructions below.\n+\n+\n+1. Clone the repository.\n+\n+  .. code-block:: bash\n+\n+     git clone https://github.com/edx/edx-analytics-pipeline\n+\n+\n+2. Install the project dependencies.\n+\n+  .. code-block:: bash\n+\n+     make bootstrap\n+\n+The system is now ready to start running tasks on the Analytics Devstack\n+using the `remote-task` tool.\n+\n+  \n+.. _Install the Analytics Devstack:  \n+\n+******************************\n+Install the Analytics Devstack\n+******************************\n+\n+To install the Analytics Devstack extensions directly from the command line,\n+follow the instructions below.\n+\n+1. Navigate to the directory where you installed the base Open edX Devstack.\n+\n+  .. code-block:: bash\n+\n+     cd devstack\n+\n+#. Login to the base Open edX Devstack.\n+   \n+   .. code-block:: bash\n+\n+     vagrant ssh\n+\n+#. Install the Analytics Devstack extensions.\n+   \n+   .. code-block:: bash\n+\n+     cd /edx/app/edx_ansible/edx_ansible/playbooks/edx-east\n+     /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook -i localhost, -c local analytics_single.yml\n+\n+\n+****************************\n+Using the Analytics Devstack\n+****************************\n+\n+====================\n+Run the Open edX LMS\n+====================\n+\n+#. Login to the base Open edX Devstack.\n+   \n+   .. code-block:: bash\n+\n+     vagrant ssh\n+\n+#. Switch to the edxapp user.","path":"en_us/install_operations/source/devstack/analytics_devstack.rst","position":109,"original_position":109,"commit_id":"7901d74a2aeae604a3efd82c44a35837476758e7","original_commit_id":"7901d74a2aeae604a3efd82c44a35837476758e7","user":{"login":"mulby","id":627177,"avatar_url":"https://avatars.githubusercontent.com/u/627177?v=3","gravatar_id":"","url":"https://api.github.com/users/mulby","html_url":"https://github.com/mulby","followers_url":"https://api.github.com/users/mulby/followers","following_url":"https://api.github.com/users/mulby/following{/other_user}","gists_url":"https://api.github.com/users/mulby/gists{/gist_id}","starred_url":"https://api.github.com/users/mulby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulby/subscriptions","organizations_url":"https://api.github.com/users/mulby/orgs","repos_url":"https://api.github.com/users/mulby/repos","events_url":"https://api.github.com/users/mulby/events{/privacy}","received_events_url":"https://api.github.com/users/mulby/received_events","type":"User","site_admin":false},"body":"done","created_at":"2015-08-13T18:43:23Z","updated_at":"2015-08-13T18:43:23Z","html_url":"https://github.com/edx/edx-documentation/pull/461#discussion_r37010228","pull_request_url":"https://api.github.com/repos/edx/edx-documentation/pulls/461","_links":{"self":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/comments/37010228"},"html":{"href":"https://github.com/edx/edx-documentation/pull/461#discussion_r37010228"},"pull_request":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/461"}}},"pull_request":{"url":"https://api.github.com/repos/edx/edx-documentation/pulls/461","id":41234019,"html_url":"https://github.com/edx/edx-documentation/pull/461","diff_url":"https://github.com/edx/edx-documentation/pull/461.diff","patch_url":"https://github.com/edx/edx-documentation/pull/461.patch","issue_url":"https://api.github.com/repos/edx/edx-documentation/issues/461","number":461,"state":"open","locked":false,"title":"Add documentation for running the analytics devstack","user":{"login":"mulby","id":627177,"avatar_url":"https://avatars.githubusercontent.com/u/627177?v=3","gravatar_id":"","url":"https://api.github.com/users/mulby","html_url":"https://github.com/mulby","followers_url":"https://api.github.com/users/mulby/followers","following_url":"https://api.github.com/users/mulby/following{/other_user}","gists_url":"https://api.github.com/users/mulby/gists{/gist_id}","starred_url":"https://api.github.com/users/mulby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulby/subscriptions","organizations_url":"https://api.github.com/users/mulby/orgs","repos_url":"https://api.github.com/users/mulby/repos","events_url":"https://api.github.com/users/mulby/events{/privacy}","received_events_url":"https://api.github.com/users/mulby/received_events","type":"User","site_admin":false},"body":"Document the procedure users can execute to run a development environment for the analytics stack. Note that this PR depends on the following PRs in other repos ->\r\n\r\nThis PR allows you to deploy the analytics stack to a devstack: https://github.com/edx/configuration/pull/2176\r\n\r\nThis PR allows you to run the analytics pipeline on a devstack: https://github.com/edx/edx-analytics-pipeline/pull/135","created_at":"2015-07-30T13:36:03Z","updated_at":"2015-08-13T18:43:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"66adb8c8328106e5c3a0dd35e5cb29a80794833d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-documentation/pulls/461/commits","review_comments_url":"https://api.github.com/repos/edx/edx-documentation/pulls/461/comments","review_comment_url":"https://api.github.com/repos/edx/edx-documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/edx-documentation/issues/461/comments","statuses_url":"https://api.github.com/repos/edx/edx-documentation/statuses/7901d74a2aeae604a3efd82c44a35837476758e7","head":{"label":"mulby:gabe/analytics-devstack","ref":"gabe/analytics-devstack","sha":"7901d74a2aeae604a3efd82c44a35837476758e7","user":{"login":"mulby","id":627177,"avatar_url":"https://avatars.githubusercontent.com/u/627177?v=3","gravatar_id":"","url":"https://api.github.com/users/mulby","html_url":"https://github.com/mulby","followers_url":"https://api.github.com/users/mulby/followers","following_url":"https://api.github.com/users/mulby/following{/other_user}","gists_url":"https://api.github.com/users/mulby/gists{/gist_id}","starred_url":"https://api.github.com/users/mulby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulby/subscriptions","organizations_url":"https://api.github.com/users/mulby/orgs","repos_url":"https://api.github.com/users/mulby/repos","events_url":"https://api.github.com/users/mulby/events{/privacy}","received_events_url":"https://api.github.com/users/mulby/received_events","type":"User","site_admin":false},"repo":{"id":29251723,"name":"edx-documentation","full_name":"mulby/edx-documentation","owner":{"login":"mulby","id":627177,"avatar_url":"https://avatars.githubusercontent.com/u/627177?v=3","gravatar_id":"","url":"https://api.github.com/users/mulby","html_url":"https://github.com/mulby","followers_url":"https://api.github.com/users/mulby/followers","following_url":"https://api.github.com/users/mulby/following{/other_user}","gists_url":"https://api.github.com/users/mulby/gists{/gist_id}","starred_url":"https://api.github.com/users/mulby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulby/subscriptions","organizations_url":"https://api.github.com/users/mulby/orgs","repos_url":"https://api.github.com/users/mulby/repos","events_url":"https://api.github.com/users/mulby/events{/privacy}","received_events_url":"https://api.github.com/users/mulby/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mulby/edx-documentation","description":"","fork":true,"url":"https://api.github.com/repos/mulby/edx-documentation","forks_url":"https://api.github.com/repos/mulby/edx-documentation/forks","keys_url":"https://api.github.com/repos/mulby/edx-documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mulby/edx-documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mulby/edx-documentation/teams","hooks_url":"https://api.github.com/repos/mulby/edx-documentation/hooks","issue_events_url":"https://api.github.com/repos/mulby/edx-documentation/issues/events{/number}","events_url":"https://api.github.com/repos/mulby/edx-documentation/events","assignees_url":"https://api.github.com/repos/mulby/edx-documentation/assignees{/user}","branches_url":"https://api.github.com/repos/mulby/edx-documentation/branches{/branch}","tags_url":"https://api.github.com/repos/mulby/edx-documentation/tags","blobs_url":"https://api.github.com/repos/mulby/edx-documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mulby/edx-documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mulby/edx-documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/mulby/edx-documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mulby/edx-documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/mulby/edx-documentation/languages","stargazers_url":"https://api.github.com/repos/mulby/edx-documentation/stargazers","contributors_url":"https://api.github.com/repos/mulby/edx-documentation/contributors","subscribers_url":"https://api.github.com/repos/mulby/edx-documentation/subscribers","subscription_url":"https://api.github.com/repos/mulby/edx-documentation/subscription","commits_url":"https://api.github.com/repos/mulby/edx-documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/mulby/edx-documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/mulby/edx-documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/mulby/edx-documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/mulby/edx-documentation/contents/{+path}","compare_url":"https://api.github.com/repos/mulby/edx-documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mulby/edx-documentation/merges","archive_url":"https://api.github.com/repos/mulby/edx-documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mulby/edx-documentation/downloads","issues_url":"https://api.github.com/repos/mulby/edx-documentation/issues{/number}","pulls_url":"https://api.github.com/repos/mulby/edx-documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/mulby/edx-documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/mulby/edx-documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mulby/edx-documentation/labels{/name}","releases_url":"https://api.github.com/repos/mulby/edx-documentation/releases{/id}","created_at":"2015-01-14T15:49:16Z","updated_at":"2015-01-14T15:49:18Z","pushed_at":"2015-07-30T16:17:08Z","git_url":"git://github.com/mulby/edx-documentation.git","ssh_url":"git@github.com:mulby/edx-documentation.git","clone_url":"https://github.com/mulby/edx-documentation.git","svn_url":"https://github.com/mulby/edx-documentation","homepage":null,"size":69445,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":"edx:master","ref":"master","sha":"2983ce98499985a64f9416582fbd8e9be1870f33","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":23839256,"name":"edx-documentation","full_name":"edx/edx-documentation","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-documentation","description":"","fork":false,"url":"https://api.github.com/repos/edx/edx-documentation","forks_url":"https://api.github.com/repos/edx/edx-documentation/forks","keys_url":"https://api.github.com/repos/edx/edx-documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-documentation/teams","hooks_url":"https://api.github.com/repos/edx/edx-documentation/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-documentation/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-documentation/events","assignees_url":"https://api.github.com/repos/edx/edx-documentation/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-documentation/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-documentation/tags","blobs_url":"https://api.github.com/repos/edx/edx-documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-documentation/languages","stargazers_url":"https://api.github.com/repos/edx/edx-documentation/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-documentation/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-documentation/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-documentation/subscription","commits_url":"https://api.github.com/repos/edx/edx-documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-documentation/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-documentation/merges","archive_url":"https://api.github.com/repos/edx/edx-documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-documentation/downloads","issues_url":"https://api.github.com/repos/edx/edx-documentation/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-documentation/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-documentation/releases{/id}","created_at":"2014-09-09T15:29:04Z","updated_at":"2015-08-12T15:24:36Z","pushed_at":"2015-08-13T18:35:21Z","git_url":"git://github.com/edx/edx-documentation.git","ssh_url":"git@github.com:edx/edx-documentation.git","clone_url":"https://github.com/edx/edx-documentation.git","svn_url":"https://github.com/edx/edx-documentation","homepage":null,"size":82360,"stargazers_count":19,"watchers_count":19,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":77,"mirror_url":null,"open_issues_count":24,"forks":77,"open_issues":24,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/461"},"html":{"href":"https://github.com/edx/edx-documentation/pull/461"},"issue":{"href":"https://api.github.com/repos/edx/edx-documentation/issues/461"},"comments":{"href":"https://api.github.com/repos/edx/edx-documentation/issues/461/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/461/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/461/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-documentation/statuses/7901d74a2aeae604a3efd82c44a35837476758e7"}}}}