Skip to content

andrewnicols/mdl_auth_db

Repository files navigation

mdl_auth_db

A utility tool for generating copious amounts of test data for Moodle's auth_db and enrol_database plugins.

Installing

Create a new database (preferably postgres)

  git clone git://github.com/andrewnicols/mdl_auth_db.git
  composer install

Creating data

  ./bin/console appbundle:createtestdata [usercount] [coursecount] [maxuserspercourse]

Setting up in Moodle

Copy configuration generated from the following command to your config.php:

  ./bin/console appbundle:moodleconfig

Running Moodle User Syncs

  php auth/db/cli/sync_users.php --verbose
  php enrol/database/cli/sync.php --verbose

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published