MChef. A moodle dev environment manager.

MChef. A moodle dev environment manager.

by Guy Thomas -
Number of replies: 4
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

I've been working on a Docker wrapper for Moodle for a couple of years. It is a tool that will help plugin developers specifically. Since I created it, I have used it for pretty much every Moodle plugin I need to develop.

It makes composing / building local moodle sites very simple. You can run multiple local moodle sites concurrently via a proxy server (built in).

Today, my company Citricity, is doing a formal release of it. It's open source and free. I sincerely hope that it will be useful to the community:

https://www.citricity.com/mchef

Average of ratings: Useful (5)
In reply to Guy Thomas

MChef. A moodle dev environment manager.

by Joseph Thibault -
Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
I've been looking at new laptops this morning because my Moodle docker runs so slowly... if this can help me squeeze out a few more months of productivity that would be awesome.
In reply to Joseph Thibault

MChef. A moodle dev environment manager.

by Guy Thomas -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
If you are using a Macbook, or Windows laptop, it should speed things up (although I must warn you that Windows support is classed as alpha).

It speeds things up for non-Linux devices by using volume mounts for plugin code. This means that all of the core Moodle code is hosted on the native Linux filesystem within your Docker container.
This means that you don't have the overhead of volume mounting ALL of core Moodle code + your plugins. And since your plugin code is volume-mounted, making changes to it results in instantaneous updates in your docker container.
To have your plugins volume mounted, make sure you have "mountPlugins": true within your MChef recipe.
Average of ratings: Useful (1)
In reply to Guy Thomas

MChef. A moodle dev environment manager.

by Petr Skoda -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

OrbStack seems much faster than Docker on macOS, it might work with MChef without any changes, it started to work with Moodle docker fine after the author fixed some minor problems I reported.

Average of ratings: Useful (1)
In reply to Petr Skoda

MChef. A moodle dev environment manager.

by Guy Thomas -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

It's funny you should mention that. That's actually what I use, and it works fine.

I'll update the README to state that it is fully compatible with OrbStack.

Thank you for the suggestion.