This repository contains the plugin files for the AAC Moodle Chatbot.
Before installing the Moodle chatbot activity plugin, ensure the core Geniai plugin is installed first:
- Download the latest Geniai plugin from Moodle Plugins.
- Navigate in Moodle to:
Site Administration → Plugins → Install Plugins → Install plugin from ZIP file
- Upload the downloaded ZIP and install it.
- Download the ZIP file of this repository.
- Navigate again in Moodle to:
Site Administration → Plugins → Install Plugins → Install plugin from ZIP file
- Install the downloaded ZIP file.
- Ensure Git is installed (Git Download).
- Open your terminal (Git Bash recommended) and navigate to your target directory:
cd C:\xampp\htdocs\MyMoodle\mod- Clone the repository:
git clone <SSH-URL>
cd <repository-folder>- Create and switch to your working branch:
git checkout -b your-branch-name- Pull any updates if necessary:
git pull- Navigate to your existing project directory:
cd path\to\your\project- Initialize Git:
git init
git remote add origin <SSH-URL>- Create and switch to your working branch:
git checkout -b your-branch-name
git pull origin main- Stage and commit your files:
git add .
git commit -m "Meaningful commit message"- Push your branch:
git push -u origin your-branch-name- List all branches:
git branch- Switch branches:
git checkout <branch-name>- Create a new branch from an existing one:
git checkout -b <new-branch-name> <existing-branch>
git push origin <new-branch-name>- Merge changes from
master:
git merge master- Switch back to master and merge feature branch:
git checkout master
git merge --no-ff <branch-name>
git push origin master- Delete a remote branch:
git push origin :<branch-name>Follow Kartavya's detailed guide in the resource channel of Discord to install and configure PHP and Xdebug properly for debugging.