New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update E-Commerce testing instructions #1417
Conversation
@gsong have a chat with @davec-edx. He is also looking at docs. |
ac4b0dc
to
60dcc3e
Compare
@gsong I should be able to review this tomorrow. |
@clintonb Will do. These are changes based on our working session to hook up LMS and E-Commerce while I was in town. @davec-edx Take a look if this is of interest to you. @srpearce Thanks! |
LGTM - thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Light copy editing pass finished. Let me know if you have any questions.
|
||
#. Verify that the following settings in ``lms.auth.json`` are correct. | ||
#. Login into the VM. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our convention is "Sign in to"
|
||
.. code-block:: bash | ||
#. Start LMS. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Start the LMS.
|
||
Configure E-Commerce | ||
******************** | ||
|
||
You use the CAT to finish configuring the two courses in your LMS instance. | ||
You use the Course Administration Tool ("**CAT**") to finish configuring the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No bold or quotation marks
.. code-block:: bash | ||
#. Navigate to the `Oauth2 Clients section`_ of `Django adminstration`_, at | ||
http://localhost:8000/admin/oauth2/client/. Login using th staff account | ||
designated in step 5. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since these links won't work for all readers (which could cause confusion), I wouldn't make them appear live. We don't do this elsewhere in the guide.
"of the Django administration console" (or "panel"—we're not very consistent about this)
Typo: th
Instead of referencing specific step numbers (which might change), say "the staff account that you have verified" or similar.
Make note of this token; it is required to run the acceptance tests. | ||
#. Navigate to the `Edx\_Oauth2\_Provider Trusted clients section`_ | ||
of `Django administration`_, at | ||
http://localhost:8000/admin/edx_oauth2_provider/trustedclient/. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment here re: links.
``course-v1:edX+DemoX+Demo_Course``. | ||
|
||
#. Navigate to `E-Commerce Courses section`_ and add a new course. Leave | ||
all fields at default, with the exception of the following. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leave the default values in all fields
|
||
:: | ||
|
||
Course ID: The course key from LMS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the LMS
Course Type: Verified | ||
Include Honor Seat: No | ||
|
||
#. Navigate to `LMS Dashboard`_ and verify the course you added in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Navigate to the learner dashboard
No link
E-Commerce now has a green "Upgrade to Verified" badge, which you can | ||
click on. | ||
|
||
#. In the CAT, add the second course present on your LMS instance to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strike "present"
|
||
#. Navigate to `LMS Dashboard`_ and verify the course you added in | ||
E-Commerce now has a green "Upgrade to Verified" badge, which you can | ||
click on. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"click on" --> select
6b02f57
to
353a319
Compare
@srpearce I believe I addressed all your edit suggestions. |
353a319
to
fe600ed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of nits.
Course Type: Verified | ||
Include Honor Seat: No | ||
|
||
#. Navigate to the learner Dashboard (e.g. http://localhost:8000/dashboard) and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Decap "Dashboard"
Client ID: 'replace-me' | ||
Client Secret: 'replace-me' | ||
Client Type: Confidential | ||
#. Navigate to the Oauth2 Clients section of Django administration console |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
of the Django (here and line 211)
fe600ed
to
234e788
Compare
@srpearce Re:
Do I need to do that? |
@gsong Do you want to announce this change in next week's release notes? (Are there any developers who will be particularly excited about it?) |
@srpearce I think it's worthwhile if people ever want to get LMS and E-Commerce working together. It's certainly useful both for internal and open source developers. |
@gsong Meant to get back to this on Thursday. It sounds like this should be covered in release notes, in that case. I'm not sure what the process is these days, so I'd recommend contacting @marcotuts. |
Update the E-Commerce testing instructions to provide step-by-step detail.
Date Needed (optional)
There's no specific urgency around this.
Reviewers
Possible roles follow. The PR submitter checks the boxes after each reviewer finishes and gives 👍.
Testing
HTML Version (optional)
Post-review