The only prerequisite for running this is a working docker install. Both docker and docker-compose are required. Follow the instructions from the official documentation:
⚠️ Warning: do not attempt to simply run
apt-get install docker docker-compose on older Ubuntu platforms, such as 16.04 (Xenial), as you will get older versions of these utilities.
Note that the production web server container will bind to port 80 and 443, so if there a web server is running on the same server (Apache or Nginx, for instance), it should be stopped prior to running tutor. Check the section on how to setup a web proxy for a workaround.
With Tutor, Open edX can run on any platform that supports Docker, including Mac OS and Windows. Tutor was tested under various versions of Ubuntu and Mac OS.
At a minimum, the server running the containers should have 4 Gb of RAM. With less memory, the deployment procedure might crash during migrations (see the troubleshooting section) and the platform will be unbearably slow.
At least 9Gb of disk space is required.
Also, the host running the containers should be a 64 bit platform. (images are not built for i386 systems)
Direct binary downloads¶
The latest binaries can be downloaded from https://github.com/overhangio/tutor/releases. From the command line:
sudo curl -L "https://github.com/overhangio/tutor/releases/download/v3.7.0/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor sudo chmod 0755 /usr/local/bin/tutor
This is the recommended installation method for most people.
If you would like to inspect the Tutor source code, you are most welcome to install Tutor from Pypi or directly from the Github repository. You will need python >= 3.5 and the libyaml development headers. On Ubuntu, these requirements can be installed by running:
sudo apt install python3 libyaml-dev
Installing from pypi:
pip install tutor-openedx
Installing from a local clone of the repository:
git clone https://github.com/overhangio/tutor cd tutor pip install -e .
Tutor can be launched on Amazon Web Services very quickly with the official Tutor AMI. Shell access is not even required, as all configuration will happen through the Tutor web user interface. This is a commercial offer priced at $50/month ($500/year) that was created to support the development of Tutor.
Tutor is built on top of Click, which is a great library for building command line interface (CLI) tools. As such, Tutor benefits from all Click features, including auto-completion. After installing Tutor, auto-completion can be enabled by running:
_TUTOR_COMPLETE=source tutor >> ~/.bashrc
If you are running zsh, run instead:
_TUTOR_COMPLETE=source_zsh tutor >> ~/.zshrc
After opening a new shell, you can test auto-completion by typing: