Created
August 25, 2025 06:16
-
-
Save ochilab/a852c8e81063cfcd2b976111029f0e14 to your computer and use it in GitHub Desktop.
Windows環境でLearningLocker(Docker版)のadminアカウントの設定ファイル(PowerShell)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $EMAIL_ADDRESS = "[email protected]" | |
| $ORGANIZATION = "personal" | |
| $PASSWORD = "************" | |
| $CONTAINER = "learninglocker" | |
| Write-Host "Creating site admin for Learning Locker..." | |
| Write-Host "Email: $EMAIL_ADDRESS" | |
| Write-Host "Organization: $ORGANIZATION" | |
| docker exec $CONTAINER bash -lc "cd /usr/local/src/learninglocker && node cli/dist/server createSiteAdmin '$EMAIL_ADDRESS' '$ORGANIZATION' '$PASSWORD'" | |
| Write-Host "Done." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment