From 86c3798129c46c33e267b58967f02d33d8b62b47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Sat, 9 Dec 2023 15:54:28 +0100 Subject: [PATCH] local.overhang.io -> local.edly.io This is related to https://github.com/overhangio/tutor/issues/945 --- README.rst | 4 ++-- tutorcairn/templates/cairn/build/cairn-superset/cairn/sso.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 30bd6bf..96a1a17 100644 --- a/README.rst +++ b/README.rst @@ -61,7 +61,7 @@ Then, restart your platform and run the initialization scripts:: tutor local launch -Open http(s)://data. 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. 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:: diff --git a/tutorcairn/templates/cairn/build/cairn-superset/cairn/sso.py b/tutorcairn/templates/cairn/build/cairn-superset/cairn/sso.py index 9c3011a..8fcfa7d 100644 --- a/tutorcairn/templates/cairn/build/cairn-superset/cairn/sso.py +++ b/tutorcairn/templates/cairn/build/cairn-superset/cairn/sso.py @@ -29,7 +29,7 @@ def oauth_user_info(self, provider, response=None): 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}")