Without this step, each computer or phone keeps its own private copy of the school's data. Follow these steps once so every branch shares the same students, marks, fees, and attendance records.
Hasset_Cloud_Backend.js (included in this website's files)./exec./exec URL into the cloud/database URL field,
set Auth style to No auth header, turn Auto-sync on, then Save & connect → Upload now.
Paste the same /exec URL and save — the shared database downloads automatically. Auto-sync then keeps every device aligned roughly every 45 seconds.
So staff never have to paste the URL themselves, edit cloud-config.json on the server (same folder as index.html):
{
"url": "https://script.google.com/macros/s/XXXX/exec",
"authMode": "none",
"autoSync": true,
"publicUrl": "https://hassetacademy.com.et/"
}
Every phone that simply opens the school website will then read this file and connect automatically.
Some hosts block direct calls to Google. Use the included PHP proxy instead:
cloud-proxy.php is uploaded next to index.html (your host must support PHP).cloud-config.json to point at the proxy instead of Google directly:{
"url": "https://hassetacademy.com.et/cloud-proxy.php",
"upstream": "https://script.google.com/macros/s/YOUR_ID/exec",
"authMode": "none",
"autoSync": true,
"publicUrl": "https://hassetacademy.com.et/"
}
Then in EMIS Overview, set the Cloud URL to https://hassetacademy.com.et/cloud-proxy.php with Auth = No auth header, and click Upload now on the main computer.
https:// or http:// — never as a local file:// page.