Skip to main content

Installation

Who is this for? Site administrators.
After installation, teachers can configure rules inside their courses.

You can install Smart Rules AI in two ways: uploading a ZIP (recommended) or manual installation.

  1. Log in to Moodle as an administrator.
  2. Go to: Site administration → Plugins → Install plugins
  3. Upload the ZIP file that contains the plugin.
    • Moodle will normally detect the plugin type automatically.
    • If Moodle asks for extra details, follow the on-screen prompts.
  4. Review the validation report and click to finish the installation.

Expected result: Moodle completes the installation and shows the plugin as installed.


Option 2: Install manually (server access)

  1. Copy the plugin source folder into your Moodle installation directory:
{your/moodle/dirroot}/local/smart-rules-ai
  1. Complete the installation in Moodle:

Go to: Site administration → Notifications, and follow the upgrade steps

or, if you prefer the command line:

php admin/cli/upgrade.php

Expected result: the upgrade completes without errors and the plugin becomes available inside courses.