Moodle – How to make a test course in CLI mode

The fast way to define test course Moodle using CLI Screen

The fastest way to define a test course Moodle using the CLI Screen

php admin/tool/generator/cli/maketestcourse.php --shortname=Course1 --fullname=Course1 --size=S

–size=S – under a 100 users in the course

–size=M – under a 1000 users in the course

add default password for all test students, write it in config.php:

$CFG->tool_generator_users_password='Yorepassword1!';

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.