Activity-type module to create and edit web sites with eXeLearning (online).
You need the eXeLearning online version installed (ws28 or higher) and access to its configuration files to run this module.
This plugin version is tested for:
The plugin can be also installed by putting the contents of this directory to
{your/moodle/dirroot}/mod/exeweb
Afterwards, log in to your Moodle site as an admin and go to Site administration > Notifications to complete the installation.
Alternatively, you can run
$ php admin/cli/upgrade.php
to complete the installation from the command line.
Go to the URL:
{your/moodle/dirroot}/admin/settings.php?section=modsettingexeweb
Remote URI: exeweb | exeonlinebaseuri
Signing Key: exeweb | hmackey1
Token expiration: exeweb | tokenexpiration
New package template: exeweb | template
Send template: exeweb | sendtemplate
Mandatory files RE list: exeweb | mandatoryfileslist
Forbidden files RE list: exeweb | forbiddenfileslist
To facilitate development, a Makefile
is included to simplify Docker-based workflows.
Pull the latest images:
To pull the latest Docker images from the registry, use:
make pull
Note: Docker need to be logged in ghcr.io ([more info...])(https://docs.github.com/es/packages/working-with-a-github-packages-registry/working-with-the-container-registry)
Start the development environment:
To start the Docker containers in interactive mode, run:
make up
To start the containers in the background (daemon mode), run:
make upd
Build the Docker containers:
You can build the Docker containers using the following command. This will also check if the EXELEARNING_WEB_SOURCECODE_PATH
is defined in the .env
file:
make build
Note: If
EXELEARNING_WEB_SOURCECODE_PATH
is not defined, the build will fail and display an error message.
Access a shell in the Moodle container:
To open a shell inside the running Moodle container, use:
make shell
Stop and remove containers:
To stop and remove the running Docker containers, run:
make down
Clean up the environment:
To stop and remove all Docker containers, volumes, and orphaned containers, run:
make clean
You can configure various settings using the .env
file. If this file does not exist, it will be automatically generated by copying from .env.dist
. Key variables to configure:
EXELEARNING_WEB_SOURCECODE_PATH
: Define the path to the eXeLearning source code if you want to work with a local version.APP_PORT
: Define the port on which the application will run.APP_SECRET
: Set a secret key for the application.Ensure you have Docker running and properly configured.
Define your environment variables in the .env
file or copy from .env.dist
.
Pull the latest Docker images:
make pull
Start the environment:
make up
Build the environment if necessary:
make build
Once development is complete, stop and clean up the environment:
make down
make clean
Copyright 2023: Centro Nacional de Desarrollo Curricular en Sistemas no Propietarios (CeDeC) / INTEF (Instituto Nacional de Tecnologías Educativas y de Formación del Profesorado)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should receive a copy of the GNU General Public License along with this program.