-
Notifications
You must be signed in to change notification settings - Fork 80
ScholAIstic Integration #8035
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
ScholAIstic Integration #8035
Conversation
4b91b62
to
ed60f9e
Compare
app/controllers/course/scholaistic/scholaistic_assessments_controller.rb
Show resolved
Hide resolved
b60423a
to
df49eae
Compare
app/controllers/course/scholaistic/scholaistic_assessments_controller.rb
Show resolved
Hide resolved
@cysjonathan Some things to note when you're testing.
You can check the |
df49eae
to
cacafb5
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.
LGTM, take note that the embed pages doesn't load on my Brave browser, likely due to default privacy configuration of Brave browser. Ok on Firefox.
For local testing
Since ScholAIstic's local development host is
nus.localhost:3000
, you'll need to modify your hosts file to loopnus.localhost
back to127.0.0.1
, otherwiseExcon
won't be able to make the server-to-server API calls.Otherwise, set dnsmasq up to create a local DNS server on your machine (assuming it's at
127.0.0.1
), configure it to do the same as above, and add these lines toScholaisticApiService.connection!
.Platforms integration
.env
values on Coursemology accordingly. For example,SCHOLAISTIC_BASE_URL
refers to the base URL of the ScholAIstic website. On local development environments, it should be the Vite server.SCHOLAISTIC_API_BASE_URL
refers to the base URL for all API key protected routes (i.e., ScholAIstic public APIs).Main test plan