-
Notifications
You must be signed in to change notification settings - Fork 2
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
Incorporates changes to make MITxOnline work with Tutor #1376
Conversation
74db9c8
to
9a965e8
Compare
Codecov Report
@@ Coverage Diff @@
## main #1376 +/- ##
==========================================
+ Coverage 82.44% 82.92% +0.48%
==========================================
Files 315 313 -2
Lines 13525 13443 -82
Branches 952 954 +2
==========================================
- Hits 11151 11148 -3
+ Misses 2104 2027 -77
+ Partials 270 268 -2 |
@jkachel Once this PR is approved and merged, can we still use the Devstack-based edX installation with MIT xOnline? |
Yes; the actual changes to the app are additive. |
6186764
to
9ffca12
Compare
…nstance. * Adds a host alias for local.overhang.io (remember to set OPENEDX_IP) * Updates configure_instance to take a --tutor option, which will switch URLs to the local.overhang.io hostname.
…han doing it manually
…y easier to cut and paste
…nstance for Tutor deployments now
…nightly flag; updating docs for same; updating overall Tutor docs with a few more things after testing with nightly/dev
e31bcfb
to
d48a24f
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.
Great work! I was able to follow the documentation to get MITx Online app to work with tutor local, and ran a couple of commands to sync data.
Pre-Flight checklist
What are the relevant tickets?
n/a
What's this PR do?
Documentation updates and some minor code changes to facilitate using MITx Online with Tutor.
This also nerfs the old Refine Admin docs; they were out of date (we don't have a specific OIDC setup for that anymore).
How should this be manually tested?
Documentation/Tutor Deployment:
Note that Open edX's Tutor distribution replaces devstack - you can run them at the same time (they expose different ports) but I at least found that to be a bit confusing, not to mention resource intensive. If you're running this on an arm64/Apple Silicon machine, there are specific docs for that (you'll have to rebuild the
openedx
image anyway but there are other things that need to be done).Build the documentation and then read it:
This will build the documentation, then run a nginx container on port 7888 pointed at the built docs (or just open it from
dist/sphinx
, that works too).Follow the documentation at
docs/source/configuration/tutor.rst
(or http://localhost:7888/configuration/tutor.html if you did the Docker thing above). It should work.Support:
configure_instance
command now accepts a--tutor
flag - if you specify this, it will use "local.overhang.io" instead of "edx.odl.local:18000" for URLs in the appropriate spots. (This will get tested as part of the Tutor deployment docs but if you want to test it manually, you can - just check for different URLs in the OAuth2 application records.)local.overhang.io
, and it should resolve to what you've setOPENEDX_IP
to rather than what's in DNS.Any background context you want to provide?
HQ thread
devstack deprecation