Maintainer Handover Guide
Welcome to the ITGPG website maintainer team! If you have inherited this repository, you are now responsible for keeping the department website running, updated, and secure.
This document serves as your complete survival guide.
🛡️ The Golden Rule
Never edit .js or .html files for standard content updates.
This site is designed with a “Zero-JS” maintenance philosophy. All daily and semesterly content (faculty members, study materials, certificates) is managed entirely through simple text files in the _data/ folder and Google Drive.
For instructions on adding/removing content, you must read the Content Workflow Guide.
📅 Maintenance Schedule
To keep the site healthy, follow this routine schedule:
Daily / Weekly Maintenance
- Review Pull Requests (PRs): Approve or request changes on any PRs submitted by students.
- Monitor API Quota: The site relies on Google Drive and YouTube APIs. If the site receives a massive spike in traffic (e.g., exam week), the API might fail. Check the Google Cloud Console to ensure quotas are healthy.
Monthly Maintenance
- Upload Certificates: Collect any new event certificates and upload them to the correct Month/Year Google Drive folder. See the Content Workflow.
- Upload Newsletters: If a new departmental newsletter is released, drop the PDF into the Newsletter Drive folder.
Semesterly Maintenance (Every 6 Months)
- Update Academic Calendar: Upload the new Odd/Even semester calendar PDF to Drive.
- Update Study Materials: If professors create new Google Drive folders for their subjects, map the new Folder IDs in
_data/site_config.yml. - Update Student Achievements: Edit
_data/toppers_list.jsonwith the latest exam toppers.
Yearly Maintenance
- Audit Faculty: Update
_data/faculty.jsonif new professors join or leave the department. - API Key Renewal: Ensure the Google API Key has not been compromised. If you need to rotate the key, follow the instructions in Google Services.
🚨 Emergency & Debugging Checklist
If the website breaks, don’t panic. Check these common failure points first:
1. “No Data Found” / Endless Spinners
- Cause: Google API Quota Exceeded.
- Fix: Wait 24 hours for the quota to reset. If it happens frequently, see the Troubleshooting Guide.
2. “Changes are not showing up!”
- Cause 1 (Local): Browser
sessionStorageis caching the old data. - Fix 1: Press
Ctrl+Shift+Rto hard refresh, or close and reopen the browser tab. - Cause 2 (Production): GitHub Pages hasn’t finished building yet.
- Fix 2: Go to the repository’s
Actionstab and check if the latest deployment workflow passed successfully.
3. Study Materials Drive Folder returns “Error”
- Cause: The Google Drive folder is set to “Restricted”.
- Fix: Ensure the specific Drive folder permissions are set to “Anyone with the link can view”.
For more specific errors, check the comprehensive Troubleshooting Guide.
🔑 Access & Infrastructure
As the lead maintainer, you should ensure you have access to:
- GitHub Repository Admin Rights: Ability to merge PRs and manage repository settings.
- Google Cloud Console: Access to the project housing the API keys (Meet with the managing faculty to get access).
- Google Drive Root Folders: Editor access to the IT Department’s shared Drives containing the certificates, study materials, and galleries.
If you are graduating and need to pass the torch, strictly follow the Handover Checklist.
📖 Required Reading
Before touching the codebase, familiarize yourself with:
- Architecture Deep Dive - How the system actually works.
- Configuration Map - What every setting in
site_config.ymldoes. - Google Services - How the APIs and keys are secured.