Skip to content

Commit

Permalink
Add instructions for seeding instance with users and classes
Browse files Browse the repository at this point in the history
  • Loading branch information
rw-kialo committed Jan 30, 2025
1 parent aeadad4 commit 8dd59bc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions development/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ This also enables web services for mobile (required for the mobile app) and enab

By default there is only one user with the username "user" and password "kialo1234". This is the admin user.

If you'd like to set up the instance with some test users and classes, run the following commands:
```shell
docker exec -i mod_kialo-mariadb-1 mariadb --user moodle moodle < $KIALO_ROOT/.github/scripts/populate-moodle-users.sql
docker exec -i mod_kialo-mariadb-1 mariadb --user moodle moodle < $KIALO_ROOT/.github/scripts/populate-moodle-courses-and-groups.sql
```
All users will have the password "kialo1234".

### Developing the plugin

To update the plugin in Moodle during development,
Expand Down

0 comments on commit 8dd59bc

Please sign in to comment.