https://github.com/fflch/moodle4_composer
https://github.com/fflch/moodle4_composer
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fflch/moodle4_composer
- Owner: fflch
- Created: 2020-12-03T01:15:44.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-21T19:59:03.000Z (over 1 year ago)
- Last Synced: 2025-06-30T17:49:54.770Z (12 months ago)
- Language: PHP
- Size: 7.67 MB
- Stars: 0
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Inspirado em:
https://github.com/michaelmeneses/moodle-composer
Subindo um ambiente para desenvolvimento:
composer install
php -S 0.0.0.0:8888 -t moodle
Subindo o ambiente de desenvolvimento com php.ini customizado:
php -S 0.0.0.0:8888 -t moodle -c php.ini
Configurações para depuração:
@error_reporting(E_ALL | E_STRICT);
@ini_set('display_errors', '1');
$CFG->debug = (E_ALL | E_STRICT);
$CFG->debugdisplay = 1;
Gerando dummy data para densenvolvimento:
php admin/tool/generator/cli/maketestsite.php --size=S
Exemplo de configuração https atrás de um proxy:
$CFG->wwwroot = 'https://moodle.fflch.usp.br';
$CFG->reverseproxy = true;
Plugins que implementam Indicators:
find . -iname "*indicator*" | grep mod
ls ./mod/page/classes/analytics/indicator
activity_base.php cognitive_depth.php social_breadth.php