- Requirements
- Installing the VMChecker-Next Plugin
- Setting up the Middleware
- Enabling Debugging Capabilities
- Setting Up VS Code
- Creating Pull Requests
- Help
- References
- You need to have a working Moodle installation. See the following comprehensive tutorial from the official Moodle docs!
- Ubuntu 20.04 or later
- Docker
- (Optional) Vagrant - to install Moodle in a separate VM to not pollute your environment
git clone https://github.com/open-education-hub/vmchecker-next.git- Clone VMChecker-Next- Move the repository inside the
blocksfolder of the Moodle installationmv vmchecker-next /var/www/html/moodle/blocks/vmchecker - To finish the installation go back to Moodle (
http://localhost:8080/moodle- default), log in as the admin, and follow the onscreen instructions to finish the install
Reference: https://docs.moodle.org/403/en/Installing_plugins#Installing_manually_at_the_server
To finish up the Moodle installation you will a need working vmchecker-next-api instance. You can get one up and running by using the following docker-compose file](https://github.com/open-education-hub/vmchecker-next-api/blob/master/etc/compose.yml)
See TA Handbook on how to set up a Moodle assignment as well as a Gitlab project (Note: You will only need to set up the private repository)
Moodle offers debug capabilities. See the following docs. For developers, you can check the See also section
TLDR; You will need to install XDebug. See the installation instructions.
Moodle integrates with a few IDEs:
- VS Code: https://docs.moodle.org/dev/Setting_up_VSCode
- PHP Storm: https://docs.moodle.org/dev/Setting_up_PhpStorm
- NetBeans: https://docs.moodle.org/dev/Setting_up_Netbeans
Please create a GitHub Issue that includes context for issues that you see. You can skip this if the proposed fix is minor.
In your pull requests (PR), link to the issue that the PR solves.
Please ensure that the base of your PR is the master branch.
We prefer a clean commit history. This means you should squash all fixups and fixup-type commits before asking for a review (e.g., clean up, squash, then force push). If you need help with this, feel free to leave a comment in your PR, and we'll guide you.
If you get stuck or need help, you can always start a new GitHub Discussion.
- Moodle Block plugin development: https://moodledev.io/docs/4.4/apis/plugintypes/blocks
- Moodle APIs: https://moodledev.io/docs/4.4/apis