IS THIS STEPS ARE CORRECT ?
I am using Azure Vm and connected using RDP
While implementing tutor local launch i am getting issues or errors related to site configurations and mfe related issues.
1. Update System and Install Dependencies
bash
CopyEdit
sudo apt update && sudo apt upgrade -y
sudo apt install curl git unzip -y
2. Install Docker and Docker Compose
bash
CopyEdit
# Install Docker
curl -fsSL https://get.docker.com | bash
# Add your user to Docker group
sudo usermod -aG docker $USER
newgrp docker
# Verify Docker installation
docker --version
Install Docker Compose plugin (latest recommended by Tutor):
bash
CopyEdit
sudo curl -SL https://github.com/docker/compose/releases/latest/download/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose version
3. Install Tutor (Maintained by Open edX)
bash
CopyEdit
# Install Tutor using pip (recommended)
sudo apt install python3-pip -y
pip3 install --upgrade pip
pip3 install "tutor[full]" # includes all common plugins
# Check Tutor version (should be >=15.3.0 for Sumac)
tutor --version
4. Create a Tutor Project Environment
bash
CopyEdit
tutor local launch
Whether i need to build mfe before running tutor local launch ?
Hi @sukanya
You mentioned getting issues/errors but did not provide any examples. Can you at least give us the full trace of events when you were installing so we can know where, when and how it failed (you can obfuscate anything confidential)
My recommendation would be to follow the official installation guides instead of having ChatGPT give you the installation steps, since much of what it says can be wrong. (for example āshould be >=15.3.0 for Sumacā is incorrect, Sumac is v19)
The convenience script that you are using to install Docker is good enough for testing but it is not recommended in a production setup, Iād rather use the official APT sources which can be kept up to date more easily.
Did you set up the Python Virtual Environment before installing Tutor with PIP? That may potentially be part of the problem if not.
Is there a special reason you want to use WSL for this? While it is possible to do so, this does add a lot of layers to the mix which can increase complexity quite a lot: The Azure system is already a virtual machine, then you are virtualising Linux on windows, then containerizing docker virtual machines, thatās a lot of nested virtualisation in an already complex integration.
If itās a dedicated VM in Azure then why not spin up a Linux server specifically for Tutor instead? If you want to practice the installation steps then it may be worthwhile setting up a local installation on a computer you control (for example a pc/laptop that has HyperV, VMware, VirtualBox or something similar) and load up a fresh VM with Ubuntu or whatever distro youāre more comfortable with.