{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-documentation/pulls/comments/51666161","id":51666161,"diff_hunk":"@@ -0,0 +1,98 @@\n+.. _Configure Partner Site:\n+\n+######################################\n+Configure a Partner and Site\n+######################################\n+\n+Before you set up ecommerce on the Open edX platform, you must configure both a\n+partner and a site that will use the ecommerce system. To do this, you use the\n+Django administration panel that is included with the Open edX platform.\n+\n+**************************\n+Partner Configuration\n+**************************\n+\n+When you configure a partner, you specify a short code that serves as a unique\n+identifier for that partner. The system creates a new **Partner** object that\n+the Open edX platform uses when you perform tasks such as specifying a theme\n+for a site in the ``SiteConfiguration`` model.\n+\n+.. _Configure Partner:\n+\n+=============================\n+Configure a Partner\n+=============================\n+\n+To configure a new partner, follow these steps.\n+\n+#. In a browser, go to ``http://localhost:8002/admin/partner/partner/`` to open\n+   the Django administration site.\n+#. On the home page, select **Add a Partner**.\n+.. Is this true? What are the additional steps?\n+#. For **Name**, enter the name of your institution or Open edX instance.\n+#. For **Users**, select the plus (+) sign to add users.\n+\n+   #. Steps to add users. Any required or suggested—e.g., admin and staff?\n+\n+#. For **Short code**, enter a unique value for your institution. This value is used as the order number prefix (e.g., \"EDX\" in EDX-1000).\n+#. Select **Save**.\n+\n+The following image shows the ``Partner`` model in the Django administration\n+panel for a configured partner.\n+.. Remove this image\n+\n+.. image:: _static/images/partner_configuration.png\n+\n+.. _Site Configuration:\n+\n+**************************\n+Site Configuration\n+**************************\n+\n+EdX has added a ``SiteConfiguration`` model to the `Django sites framework`_.\n+This model allows users to map domains to a **Site** object, which consists of\n+an ID and a name. The model also allows users to add and update themes and\n+payment processors for a site.\n+\n+The multi-tenant implementation has one site per partner.\n+\n+=============================\n+Configure a Site\n+=============================\n+\n+To configure a site, follow these steps.\n+\n+#. In a browser, go to ``http://localhost:8002/admin/core/siteconfiguration``\n+   to open the **Site configurations** page in the Django administration panel.\n+#. If you're running devstack, for **Site**, leave the default value of\n+   ``example.com``.","path":"en_us/install_operations/source/otto/config_partner_site.rst","position":68,"original_position":68,"commit_id":"b7c62cd7ffd708fab755fb902d45c84ea6c626f4","original_commit_id":"b7c62cd7ffd708fab755fb902d45c84ea6c626f4","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":"What should users who aren't running devstack do?","created_at":"2016-02-03T01:25:14Z","updated_at":"2016-02-03T01:25:14Z","html_url":"https://github.com/edx/edx-documentation/pull/831#discussion_r51666161","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/51666161"},"html":{"href":"https://github.com/edx/edx-documentation/pull/831#discussion_r51666161"},"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\n4 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@rlucioni @clintonb If I understand correctly, the following are the steps a user should 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: fulfillment)\r\n6. Test Otto (file: test_otto)\r\n7. Enable Otto in production (file: enable_Otto)\r\n\r\nOptionally, a user can run maintenance steps (file: maintenance) and send e-mail notifications (file: notifications). Users can also optionally create coupon codes (not included in these docs because it's not part of Dogwood). \r\n\r\nIs this correct?\r\n\r\nI've only worked on the files for steps 1-4. Please see the inline questions for those files. If you want to see a built version of these files, go to http://draft-otto-2feb.readthedocs.org/en/latest/otto/index.html.\r\n\r\nAdditional questions:\r\n* Does the internationalization file need to be included with the Otto docs, or is that something that's globally applicable to Open edX?\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-03T01:25:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba2b4c8fe7eab3421d8755fa311baac91117ec1d","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/b7c62cd7ffd708fab755fb902d45c84ea6c626f4","head":{"label":"edx:sylvia/DOC-2590","ref":"sylvia/DOC-2590","sha":"b7c62cd7ffd708fab755fb902d45c84ea6c626f4","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-03T00:53:24Z","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":88920,"stargazers_count":31,"watchers_count":31,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":112,"mirror_url":null,"open_issues_count":26,"forks":112,"open_issues":26,"watchers":31,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"56de43b6dc7e719a0c15b721d9ccc363a3cb7df9","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-03T00:53:24Z","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":88920,"stargazers_count":31,"watchers_count":31,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":112,"mirror_url":null,"open_issues_count":26,"forks":112,"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/b7c62cd7ffd708fab755fb902d45c84ea6c626f4"}}}}