-
Notifications
You must be signed in to change notification settings - Fork 0
Installation Instructions
Vinícius B. Matos edited this page Mar 11, 2025
·
5 revisions
Please use the HarpIA Survey repository.
- Set up HarpIA Model Gateway and take a note of its address.
- Upload the plugin to the server by using one of these methods:
-
Method a: upload from the web interface. This method only works if the web server's user (e.g.
www-data) can write on thelocal/subdirectory of Moodle (often/var/www/html/local/).
⤷ Download this repository as ZIP. On your Moodle instance, log in as an administrator and go to Site Administration > Plugins > Install plugins. Click Choose a file, Upload a file, and select the ZIP file containing the plugin. Click Upload this file and Install plugin from the ZIP file. Then, click Continue and Continue. -
Method b: manual installation. This method only works if you have access to a shell on the server where Moodle is running.
⤷ Obtain the contents of this repository by downloading it as ZIP or cloning it with Git. Create the directoryharpiaajax/under thelocal/subdirectory of Moodle (the path will usually be/var/www/html/local/harpiaajax/) and move the contents of this repository to the newly created directory.
-
Method a: upload from the web interface. This method only works if the web server's user (e.g.
- On the web interface as an administrator, click Continue, Upgrade Moodle database now and Continue.
- Under New settings - HarpIA AJAX, fill in the value of HarpIA Model Gateway address (e.g.
http://localhost:42774), which must be accessible from the Moodle server, and click Save changes. This setting will be available at Site administration > Plugins > Local plugins > HarpIA AJAX, in case it needs to be updated later.