Tutor local quickstart fails with npm timeout

@sooma
I am sharing you step by step documentation for Ubuntu 20.04

For Production
Create a non root user

sudo adduser **username**

sudo usermod -aG sudo **username**

then login into username user

su - **username**

sudo apt update

then install docker and compose

sudo apt-get install docker docker-compose -y

then create a docker group

sudo usermod -aG docker **username**

enable docker at startup
sudo systemctl enable docker

then install python
sudo apt install python3 python3-pip libyaml-dev -y

then install tutor
pip install "tutor[full]"

then resolve pyyaml version error

pip install PyYAML==5.4.1

pip install --upgrade "tutor[full]"

then add path of tutor in environment file

sudo nano /etc/environment

in the last add
:/home/**username**/.local/bin

sudo reboot
login in as username and then run
tutor local quickstart # for local installations

1 Like