Local env setup CMS Studio redirects to localhost:2001 which has no docker container

I have been trying to setup a local Open edX environment. So far, I have followed these steps:

python3 -m venv env
source env/bin/activate
git clone https://github.com/openedx/edx-platform
git clone https://github.com/overhangio/tutor
cd tutor
git checkout main # Fixes error for RUN npm run compile-sass -- --skip-themes
pip install -e .

Set Docker Desktop to use 12GB of RAM in Settings>Resources>Advanced>Resource Allocation:Memory limit

tutor mounts add ./edx-platform
tutor plugins disable indigo # Necessary to avoid React version mismatch problem
tutor images build openedx-dev
tutor dev launch

Update /etc/hosts file to point 127.0.0.1 to each domain in the build output.

I’m able to get to http://local.openedx.io:8000 and I was able to create an account there and log in. However, when I try to go to http://studio.local.openedx.io:8001, I am redirected to http://localhost:2001/home which doesn’t correspond to any of the docker containers I have running.

From trying to search for this issue in the forums, I found these related posts:

I think the conclusion to this issue is that the GitHub - openedx/frontend-app-authoring: Front-end for the Open edX Studio experience, implemented in React and Paragon. repository also needs to be cloned and built to run on port 2001 in order for the Studio CMS to function. Is this the correct conclusion? If so, from reading these 2 Github READMEs, it seems like the steps I need to move forward are these:

git clone https://github.com/openedx/frontend-app-authoring.git

Ensure your Node version matches the one mentioned in the .nvmrc file of the frontend-app-authoring repository using node --version.

tutor dev stop
tutor mounts add ./frontend-app-authoring
tutor plugins install mfe
tutor plugins enable mfe
tutor images build mfe
tutor dev start lms cms mfe
cd frontend-app-authoring && npm ci
npm run dev

Are these the correct steps in the correct order?

Is http://studio.local.openedx.io:8001 still redirecting to http://localhost:2001/home with tutor-mfe installed? I would expect it to redirect to http://apps.local.openedx.io:2001/authoring/.

I don’t think I have tutor-mfe installed. I’ve been trying to determine if that’s what’s needed and how to do it.

It’s not fully clear to me what you have tried so far or what your goal is, but based on what I’ve been able to gather from your original post I would absolutely recommend installing tutor-mfe as a next step.

When you run tutor dev launch, are you not seeing a warning about a missing mfe plugin? You should install missing requirements. This is typically performed by installing tutor[full], and not just tutor.

In your case, you should run:

source env/bin/activate
cd tutor
pip install -e .[full]
tutor plugins list # make sure that indigo is disabled and mfe is enabled
tutor dev launch # make sure to run init scripts