TCExam Installation
Docker (recommended for evaluation)
If you started TCExam with make up (or docker compose up --build), the
installation is performed automatically on first start — there is no need to run
this web installer. Just open the application and sign in at
admin/code/ with the default account admin / 1234
(change it immediately).
Manual / self-hosted install
On your own PHP/web/database stack, first install the PHP dependencies (the bundled libraries — PDF engine, mailer, CAS, RADIUS — are no longer shipped in the source tree):
composer install
Then either run the web installer or the command-line installer:
- Web installer: run install.php and fill in the form.
- Command-line installer (non-interactive, scriptable): set the
TCEXAM_DB_*/TCEXAM_PATH_*environment variables and runphp install/install_cli.php. See the header of that file for the full list.
The full step-by-step manual — system requirements, manual installation and post-installation
security — is in install/README.md (also rendered on
GitHub),
and at the project website tcexam.org.
Important: delete this entire install/ directory once installation
is complete — it must not remain reachable on a production server.