Description
I believe that every Moodle plugin project should include instructions to test their module in a live, local Moodle environment.
I also think that moodle-docker is the canonical Docker repo to use for developing and testing Moodle plugins.
This means that all the instructions at https://github.com/moodlehq/moodle-docker?tab=readme-ov-file#quick-start are incorporated into the development of every plugin.
That's a lot of instructions!
I hope that the setup for moodle-docker can be simplified greatly. Ultimately this can be whittled down to the single command:
cd $SOME_DIR
docker-compose up
This will load check out Moodle, create directories as needed, and run everything.
If additional configuration is required, like MOODLE_DOCKER_WWWROOT MOODLE_DOCKER_DB or whatever is in the shell script, those can be handled as additional options.