Skip to content

Commit 9834914

Browse files
committed
Added .env to .gitignore
1 parent 918c697 commit 9834914

File tree

7 files changed

+25
-4
lines changed

7 files changed

+25
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.aider*
2+
.env

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ pull: check-docker
6363
build: check-docker
6464
docker compose build
6565

66-
# Open a shell inside the exelearning-web container
66+
# Open a shell inside the moodle container
6767
shell: check-docker
68-
docker compose run exelearning-web sh
68+
docker compose exec moodle sh
6969

7070
# Clean up and stop Docker containers, removing volumes and orphan containers
7171
clean: check-docker

docker-compose.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ services:
44

55
exelearning-web:
66
image: ghcr.io/exelearning/exelearning-web:latest
7+
# build: ${EXELEARNING_WEB_PATH} # Source code of exe-learning
78
ports:
89
- 8080:8080
910
restart: unless-stopped # Restart the container unless it is stopped manually
1011
volumes:
1112
- mnt-data:/mnt/data:rw # Mount the volume for persistent data
1213
environment:
14+
APP_ENV: prod
15+
APP_DEBUG: 0
16+
XDEBUG_MODE: off
1317
PRE_CONFIGURE_COMMANDS:
1418
POST_CONFIGURE_COMMANDS: |
1519
echo "this is a test line 1"
@@ -30,6 +34,7 @@ services:
3034
DB_USER: root
3135
DB_PASS: moodle
3236
DB_PREFIX: mdl_
37+
DEBUG: true
3338
MOODLE_EMAIL: [email protected]
3439
MOODLE_LANGUAGE: es
3540
MOODLE_SITENAME: New-Site
@@ -39,15 +44,16 @@ services:
3944
echo 'This is a pre-configure command'
4045
POST_CONFIGURE_COMMANDS: |
4146
echo 'This is a post-configure command'
42-
php admin/cli/install_plugin.php --pluginsource=/var/www/html/mod/exescorm
47+
echo 'Forcing upgrade to re-install exe plugin...'
48+
php admin/cli/upgrade.php --non-interactive
4349
php admin/cli/cfg.php --component=exescorm --name=exeonlinebaseuri --set=exelearning-web:8080
4450
php admin/cli/cfg.php --component=exescorm --name=hmackey1 --set=PLEASE_CHANGEME_API_KEY
4551
ports:
4652
- 80:8080
4753
volumes:
4854
- moodledata:/var/www/moodledata
4955
- moodlehtml:/var/www/html
50-
- ./mod_exescorm:/var/www/html/mod/exescorm:rw # Mount local plugin on the container
56+
- ./:/var/www/html/mod/exescorm:rw # Mount local plugin on the container
5157

5258
depends_on:
5359
- db

lang/en/exescorm.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
24+
$string['modulename'] = 'ExeSCORM';
2425
$string['toc'] = 'TOC';
2526
$string['navigation'] = 'Navigation';
2627
$string['aicchacptimeout'] = 'AICC HACP timeout';

lang/es/exescorm.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
24+
$string['modulename'] = 'ExeSCORM';
2425
$string['toc'] = 'TOC (Tabla de Contenidos)';
2526
$string['navigation'] = 'Navegación';
2627
$string['aicchacptimeout'] = 'Tiempo de espera AICC HACP';

report/version.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
defined('MOODLE_INTERNAL') || die();
3+
4+
$plugin->version = 2023101900; // Versión del subplugin (Fecha: YYYYMMDDXX).
5+
$plugin->requires = 2022041900; // Versión mínima de Moodle.
6+
$plugin->component = 'mod_exescormreport_basic'; // Nombre completo del subplugin.
7+
$plugin->maturity = MATURITY_BETA; // Estabilidad.
8+
$plugin->release = 'v1.0'; // Versión del subplugin.

version.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@
2727
$plugin->version = 2023120400; // The current module version (Date: YYYYMMDDXX).
2828
$plugin->requires = 2020061500; // Moodle 3.9 to 4.1.
2929
$plugin->component = 'mod_exescorm'; // Full name of the plugin (used for diagnostics).
30+
31+
$plugin->maturity = MATURITY_BETA; // This is a stable version.
32+
$plugin->release = 'v3.0.0'; // This is the first release of this version.
33+

0 commit comments

Comments
 (0)