local.overhang.io -> local.edly.io

This is related to https://github.com/overhangio/tutor/issues/945
This commit is contained in:
Régis Behmo 2023-12-09 15:54:28 +01:00
parent 48360365ce
commit 86c3798129
2 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ Then, restart your platform and run the initialization scripts::
tutor local launch
Open http(s)://data.<YOUR_LMS_HOST> in your browser. When running locally, this will be http://data.local.overhang.io. (http://data.local.overhang.io:2247 in development). Users authenticate with their LMS user. By default, they have access to the data generated by the courses in which they have the "staff role". To convert an existing user to administrator status, run::
Open http(s)://data.<YOUR_LMS_HOST> in your browser. When running locally, this will be http://data.local.edly.io. (http://data.local.edly.io:2247 in development). Users authenticate with their LMS user. By default, they have access to the data generated by the courses in which they have the "staff role". To convert an existing user to administrator status, run::
tutor local do cairn-createuser --admin YOURUSERNAME YOURUSERNAME@YOUREMAIL.COM
@ -187,7 +187,7 @@ In this example, the following folder should be created in the plugin:: ``tutorc
Development
-----------
In development, the Superset user interface will be available at http://data.local.overhang.io:2247.
In development, the Superset user interface will be available at http://data.local.edly.io:2247.
To reload Vector configuration after changes to vector.toml, run::

View File

@ -29,7 +29,7 @@ class OpenEdxSsoSecurityManager(SupersetSecurityManager):
def get_user_info(self):
"""
Make calls to the LMS API to fetch user information
http://local.overhang.io:8000/api-docs/#/user/user_v1_me_read
http://local.edly.io:8000/api-docs/#/user/user_v1_me_read
"""
username = self.get_lms_api("/api/user/v1/me")["username"]
account = self.get_lms_api(f"/api/user/v1/accounts/{username}")