This repo now includes a reproducible Omeka S + MySQL stack for manual testing and CI integration tests.
- Omeka S
v4.2.1, cloned during the Docker image build - PHP 8.3 CLI with the Omeka-required extensions
- MySQL 8
- This
Teamsmodule bind-mounted intomodules/Teams - A non-interactive installer that creates a test-only admin account and activates
Teams
Test-only default admin credentials:
- Email:
admin@example.com - Password:
TeamsTestPass123!
From the repository root:
docker compose -f docker/docker-compose.yml up -d --buildRun the installer inside the Omeka container:
docker compose -f docker/docker-compose.yml exec -T omeka bash modules/Teams/docker/install.shThe script is idempotent: you can rerun it safely.
Browse to:
docker compose -f docker/docker-compose.yml exec -T omeka php -d xdebug.mode=off modules/Teams/tests/integration/run.phpThe test boots the real Omeka application, authenticates as the admin user, and verifies:
Omeka\Api\Manager::search('team-user', [])returns everyteam_userrow without throwingTeams\Service\SitePermissionManager::syncAllSitePermissions()creates correctsite_permissionrows for all fixture users
docker compose -f docker/docker-compose.yml down -v- The Omeka application code lives in the image at
/var/www/omeka-s. - The database is persisted in the named Docker volume
omeka-dbuntil you rundown -v. - The installer writes a local
config/database.iniandconfig/local.config.phpinside the container for this disposable test environment. - The credentials above are intentionally fake and are for local/CI testing only.