Follow these steps to deploy ThaiRIS on your server.
Download the source code package and unzip it into your web server's root directory.
Locate the thairis.sql file in the package folder.
Import this file into your MySQL/MariaDB database server. You can use PHPMyAdmin or command line.
Edit the file connectdb.php to match your database credentials.
<?php $host = "localhost"; $user = "your_db_username"; $password = "your_db_password"; $dbname = "thairis"; // ... rest of the code ?>
Access the system via your web browser: http://your-server-ip/thairis
Default Credentials:
Username: admin
Password: admin
After logging in, please create your own user accounts and setup procedure codes.
To clear test data (Orders & Reports) from the database, you can run these SQL commands:
DELETE FROM xray_request; DELETE FROM xray_request_detail; DELETE FROM xray_report;