{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-documentation/pulls/comments/52361086","id":52361086,"diff_hunk":"@@ -0,0 +1,42 @@\n+.. _Create Course Mode:\n+\n+####################\n+Create a Course Mode\n+####################\n+\n+Intro text...\n+\n+To create a course mode, you use the Course Administration Tool (CAT). You access the CAT through your browser, similar to the Django\n+administration panel.\n+\n+*********************\n+Create a Course Mode\n+*********************\n+\n+If you're using `devstack`_, the ecommerce and edx-platform servers\n+already have the correct configuration defaults to communicate with\n+one another.\n+\n+To configure a course mode for a course, follow these steps.\n+\n+#. In the ecommerce and LMS configuration files (``/edx/etc/ecommerce.yml`` and\n+   ``/edx/app/edxapp/lms.auth.json``, respectively), verify the following.\n+\n+   * The ``EDX_API_KEY`` value in the LMS file must be the same as the\n+     ``EDX_API_KEY`` value in the ecommerce file. If the values differ, change\n+     the value in the LMS file to match the ecommerce file.\n+   * The ``ECOMMERCE_API_SIGNING_KEY`` value in the LMS file must be the same\n+     as the ``JWT_SECRET_KEY`` value in the ecommerce file. If the values\n+     differ, change the value in the LMS file to match the ecommerce file.\n+\n+#. On `devstack`_, start the ecommerce server on port 8002, and start the LMS\n+   on port 8000.\n+#. On the ecommerce server, set up a :ref:`site configuration <Site\n+   Configuration>` in the Django admininstration panel.","path":"en_us/install_operations/source/otto/create_course_mode.rst","position":35,"original_position":35,"commit_id":"ed12d6ae26726545c1738c8ba0464d3cb2d7c9e9","original_commit_id":"b7c62cd7ffd708fab755fb902d45c84ea6c626f4","user":{"login":"rlucioni","id":969289,"avatar_url":"https://avatars.githubusercontent.com/u/969289?v=3","gravatar_id":"","url":"https://api.github.com/users/rlucioni","html_url":"https://github.com/rlucioni","followers_url":"https://api.github.com/users/rlucioni/followers","following_url":"https://api.github.com/users/rlucioni/following{/other_user}","gists_url":"https://api.github.com/users/rlucioni/gists{/gist_id}","starred_url":"https://api.github.com/users/rlucioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlucioni/subscriptions","organizations_url":"https://api.github.com/users/rlucioni/orgs","repos_url":"https://api.github.com/users/rlucioni/repos","events_url":"https://api.github.com/users/rlucioni/events{/privacy}","received_events_url":"https://api.github.com/users/rlucioni/received_events","type":"User","site_admin":false},"body":"Why not preface it with \"If you haven't already,\"? Someone might start here without having read the previous section.","created_at":"2016-02-09T19:34:05Z","updated_at":"2016-02-09T19:34:05Z","html_url":"https://github.com/edx/edx-documentation/pull/831#discussion_r52361086","pull_request_url":"https://api.github.com/repos/edx/edx-documentation/pulls/831","_links":{"self":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/comments/52361086"},"html":{"href":"https://github.com/edx/edx-documentation/pull/831#discussion_r52361086"},"pull_request":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/831"}}},"pull_request":{"url":"https://api.github.com/repos/edx/edx-documentation/pulls/831","id":58075698,"html_url":"https://github.com/edx/edx-documentation/pull/831","diff_url":"https://github.com/edx/edx-documentation/pull/831.diff","patch_url":"https://github.com/edx/edx-documentation/pull/831.patch","issue_url":"https://api.github.com/repos/edx/edx-documentation/issues/831","number":831,"state":"open","locked":false,"title":"WIP: Otto documentation for Dogwood","user":{"login":"srpearce","id":3493253,"avatar_url":"https://avatars.githubusercontent.com/u/3493253?v=3","gravatar_id":"","url":"https://api.github.com/users/srpearce","html_url":"https://github.com/srpearce","followers_url":"https://api.github.com/users/srpearce/followers","following_url":"https://api.github.com/users/srpearce/following{/other_user}","gists_url":"https://api.github.com/users/srpearce/gists{/gist_id}","starred_url":"https://api.github.com/users/srpearce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srpearce/subscriptions","organizations_url":"https://api.github.com/users/srpearce/orgs","repos_url":"https://api.github.com/users/srpearce/repos","events_url":"https://api.github.com/users/srpearce/events{/privacy}","received_events_url":"https://api.github.com/users/srpearce/received_events","type":"User","site_admin":false},"body":"## [DOC-2590](https://openedx.atlassian.net/browse/DOC-2590)\r\n\r\nThis is the rough draft of the Otto docs that will be included in Dogwood, set to release the week of 8 February.\r\n\r\n### Date Needed \r\nASAP; Dogwood is scheduled to release the week of 8 February.\r\n\r\n### Built HTML Docs\r\nhttp://draft-otto-2feb.readthedocs.org/en/latest/otto/index.html\r\n\r\n### Reviewers\r\n- [ ] Tech review: @rlucioni and/or @clintonb \r\n\r\n### Description\r\n\r\n#### TL; DR:\r\n\r\n1. Please let me know if the structure and organization works.\r\n2. Answer the inline questions and let me know if any other necessary information is missing.\r\n\r\n#### Detailed:\r\n\r\nTo be consistent with the rest of the guide that I'm adding this information to, I've set this section up as instructions for installing Otto. That means that I've focused on procedures, even in topics that were conceptual—the goal is instead of just giving users information about order fulfillment, for example, telling them how they can use the information we're providing.\r\n\r\nAs I organized the topics, I divided them into necessary and optional steps. Necessary steps are ordered; optional are unordered. To see what this looks like in context, view the built HTML version of these files at http://draft-otto-2feb.readthedocs.org/en/latest/otto/index.html.\r\n\r\nIf I understand correctly, the following are the steps a user has to follow to get Otto installed and working:\r\n\r\n1. Install Otto (file: install_otto.rst, formerly getting_started.rst)\r\n2. Configure a partner and site (file: config_partner_site)\r\n3. Create a course mode (file: create_course_mode)\r\n4. Set up the asset pipeline (file: asset_pipeline)\r\n5. Set up order fulfillment (file: fulfill_orders)\r\n6. Test Otto (file: test_otto)\r\n\r\nOnce Otto is set up, you can optionally configure Otto to complete additional tasks:\r\n\r\n* Send notifications (send_notifications)\r\n* Switch processors in case one or more of the usual processors stops working (change_processors)\r\n* Collect data using Segment (track_data)\r\n* Remain hidden behind a feature flag (gate_otto)\r\n* Delete unneeded baskets (maintain_otto)\r\n\r\nAlso, these docs have wildly varying degrees of specificity. In some places, we provide detailed step-by-step instructions; in others, we just say things like \"To add a custom email body, override ``block body``\". I'm not sure what the ideal level of specificity is, so any guidance in that area is welcome. As you're reviewing, please be cognizant of areas where information is missing. I have quite a few inline questions, but I don't know what I don't know.\r\n\r\nWe can also meet on Monday to go over these docs if that will help.\r\n\r\n### Testing\r\n- [ ] Ran ./run_tests.sh without warnings or errors\r\n \r\n\r\n### Post-review\r\n- [ ] Squash commits","created_at":"2016-02-03T00:53:23Z","updated_at":"2016-02-09T19:34:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c39283db9e0904decaa4d2424c52d027ef618f90","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-documentation/pulls/831/commits","review_comments_url":"https://api.github.com/repos/edx/edx-documentation/pulls/831/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/831/comments","statuses_url":"https://api.github.com/repos/edx/edx-documentation/statuses/ed12d6ae26726545c1738c8ba0464d3cb2d7c9e9","head":{"label":"edx:sylvia/DOC-2590","ref":"sylvia/DOC-2590","sha":"ed12d6ae26726545c1738c8ba0464d3cb2d7c9e9","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":"For published versions of the edX documentation, visit:","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}","deployments_url":"https://api.github.com/repos/edx/edx-documentation/deployments","created_at":"2014-09-09T15:29:04Z","updated_at":"2016-02-01T01:23:33Z","pushed_at":"2016-02-09T19:32:05Z","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":" http://docs.edx.org","size":91560,"stargazers_count":31,"watchers_count":31,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":115,"mirror_url":null,"open_issues_count":26,"forks":115,"open_issues":26,"watchers":31,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"b785cc802c2c8fbb9fe28dcb676a9253fef00ea7","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":"For published versions of the edX documentation, visit:","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}","deployments_url":"https://api.github.com/repos/edx/edx-documentation/deployments","created_at":"2014-09-09T15:29:04Z","updated_at":"2016-02-01T01:23:33Z","pushed_at":"2016-02-09T19:32:05Z","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":" http://docs.edx.org","size":91560,"stargazers_count":31,"watchers_count":31,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":115,"mirror_url":null,"open_issues_count":26,"forks":115,"open_issues":26,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/831"},"html":{"href":"https://github.com/edx/edx-documentation/pull/831"},"issue":{"href":"https://api.github.com/repos/edx/edx-documentation/issues/831"},"comments":{"href":"https://api.github.com/repos/edx/edx-documentation/issues/831/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/831/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/831/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-documentation/statuses/ed12d6ae26726545c1738c8ba0464d3cb2d7c9e9"}}}}