Installation Guide
Complete technical documentation for deploying the School Management System on a live server.
1. Uploading Files
Upload Zip Archive
Compress your project files and upload the .zip file to your server's root directory (usually public_html or www).
Extract Files
Use the File Manager in your hosting panel (cPanel/DirectAdmin) to extract the contents into the root folder.
2. Essential File Renaming
For security and server compatibility, rename these core files immediately.
Original: env
Rename to: .env
Original: htaccess
Rename to: .htaccess
3. Database Setup & SQL Import
Create Database
Create a new MySQL Database and Database User via your hosting panel. Assign all privileges to the user.
Import SQL Schema
Open phpMyAdmin, select your database, go to the "Import" tab, and choose database/school.sql.
Configure Environment
Edit the .env file you renamed earlier and update your credentials:
DB_HOST=localhost
DB_NAME=your_database_name
DB_USER=your_database_user
DB_PASS=your_database_password
4. Authentication
Once the setup is complete, access your domain and use these default credentials to log in.
Admin Email
admin@school.com
Default Password
password123
Important Security Step
After your first successful login, please go to "My Profile" and change your administrator Email and Password immediately.