You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
412 B
13 lines
412 B
#!/bin/pwsh |
|
|
|
# Set up Moodle in container |
|
|
|
$adminUser = "admin" |
|
$adminPassword = "admin" |
|
$siteName = "exam" |
|
$siteShort = "exam" |
|
$lang = "ru" |
|
|
|
docker exec -it -u www-data moodle /usr/bin/php /var/www/html/admin/cli/install_database.php --agree-license --adminuser=$adminUser --adminpass=$adminPassword --fullname=$siteName --shortname=$siteShort --lang=$lang |
|
|
|
Write-Host "Admin account: $adminUser/$adminPassword" |