From 78441c0680c91e91c12275db5d091a8c4ac1c2a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Thu, 17 Oct 2024 08:35:13 +0200 Subject: [PATCH] docs: *.local.edly.io -> *.local.openedx.io The default URL to run a local platform switched from local.edly.io to local.openedx.io. This changes makes it clearer for everyone that Tutor is to run Open edX. See: https://github.com/overhangio/tutor/issues/1120 --- README.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index d3aaef66..cb67b62e 100644 --- a/README.rst +++ b/README.rst @@ -95,17 +95,17 @@ Operations Creating a user ~~~~~~~~~~~~~~~ -The ecommerce user interface will be available at http://ecommerce.local.edly.io for a local instance, and at ``ECOMMERCE_HOST`` (by default: ``http(s)://ecommerce.``) in production. In order to run commands from the UI, a user with admin rights must be created. There are two ways to proceed. To create a brand new user in E-Commerce which will not exist in the LMS, run:: +The ecommerce user interface will be available at http://ecommerce.local.openedx.io for a local instance, and at ``ECOMMERCE_HOST`` (by default: ``http(s)://ecommerce.``) in production. In order to run commands from the UI, a user with admin rights must be created. There are two ways to proceed. To create a brand new user in E-Commerce which will not exist in the LMS, run:: tutor local run ecommerce ./manage.py createsuperuser -Then login with this new user at: http://ecommerce.local.edly.io/admin/ +Then login with this new user at: http://ecommerce.local.openedx.io/admin/ -To re-use an existing LMS user, first go to http://ecommerce.local.edly.io/login. You should be redirected to the LMS login page, then to the dashboard. Then this user must be made a staff/superuser in E-Commerce:: +To re-use an existing LMS user, first go to http://ecommerce.local.openedx.io/login. You should be redirected to the LMS login page, then to the dashboard. Then this user must be made a staff/superuser in E-Commerce:: tutor local run ecommerce ./manage.py shell -c "from django.contrib.auth import get_user_model; get_user_model().objects.filter(email='USER@EMAIL.COM').update(is_staff=True, is_superuser=True)" -Make sure to replace ``USER@EMAIL.COM`` by the actual user email address. You should then be able to view the Oscar dashboard at http://ecommerce.local.edly.io. +Make sure to replace ``USER@EMAIL.COM`` by the actual user email address. You should then be able to view the Oscar dashboard at http://ecommerce.local.openedx.io. Custom payment processors @@ -130,7 +130,7 @@ Then, build the image, pointing to your fork if necessary:: Development ~~~~~~~~~~~ -When running Tutor in development mode, the ecommerce service is accessible at http://ecommerce.local.edly.io:8130. +When running Tutor in development mode, the ecommerce service is accessible at http://ecommerce.local.openedx.io:8130. To mount a local ecommerce repository in the ecommerce container, add an auto-mounted repository with::