Open edX Devstack Development with Apple Macbook M1 Silicon (ARM Architecture)

Here’s what I came up with. I think it’s generalized to the extent that the couple of scripts that i built will work for both Ubuntu as well as arm64-based macOS machines thanks to OpenCraft/@braden’s most excellent tutor plugin for arm64. The two scripts are:

  • openedx-install-venv.sh. This is a strict interpretation of tutor’s Dockerfile for openedx and seems to work well on both OS’s.
  • tutor-developer-build.sh. This is a codified implementation of this discussion thread combined with the official tutor documentation for creating a development environment. It contains examples and inline documentation for adding more custom code packages to your openedx build.