README.md
Snapshot 2026.09.17-a2894de (current) · 33 lines · 1,822 bytes · tree · plain text
SHA-256
8c157bc61176c038f91b81d271f352788cd112267000cf22bb1d5bd088aed7e8| 1 | # Districthive Research Labs · open data platform (v0) |
| 2 | |
| 3 | Dark, drag-and-drop PHP/MySQL dashboard publishing every research stream of |
| 4 | The Skerðingsstaðir Experiment, with placeholder data until each live feed lands. |
| 5 | |
| 6 | DEPLOY |
| 7 | 1. Upload this folder to the web root (PHP 8+, MySQL 8+, mail() available). |
| 8 | 2. Create a MySQL database; copy config.sample.php → config.php; fill DB, admin |
| 9 | hash, alert email, company lines (Estonian parent details are marked TO FILL). |
| 10 | 3. Visit /install.php once (creates schema, seeds placeholder data, locks itself). |
| 11 | 4. Add the two cron lines from cron/README.md. |
| 12 | 5. Optional: drop your logo at assets/logo.svg (wordmark shows until then). |
| 13 | |
| 14 | HOW PLACEHOLDER→LIVE WORKS |
| 15 | Every stream starts mode=placeholder and every page shows an amber PLACEHOLDER |
| 16 | DATA tag. When a vendor client in cron/clients/ has credentials and lands its |
| 17 | first real reading, the stream flips to live automatically, placeholder rows stop |
| 18 | being served, and the tag turns green LIVE DATA. Manual override in /admin. |
| 19 | |
| 20 | WHAT'S WHERE |
| 21 | Pages per data point (weather, lagoon, aquifer, dark sky, birds incl. the |
| 22 | impact-vs-control BACI panel, marine, footfall, resources, cameras, wellbeing |
| 23 | aggregate, heritage, construction, control site) · Correlate exploratory |
| 24 | workbench with lag + CSV export · Health with freshness/completeness/risk and |
| 25 | cron email alerts · Faults & gaps public log · Raw vault with SHA-256 chain · |
| 26 | Activity log · Instruments (every stream accounted for, product named) · keyed |
| 27 | read-only API (/api.php; keys issued in /admin) · About with licence & citation. |
| 28 | |
| 29 | SECURITY |
| 30 | config.php denied by .htaccess; /data denied; admin behind hashed password + |
| 31 | session; API keyed (sha256-hashed at rest, shown once); no person-level data in |
| 32 | the database by construction; hidden/keyed visibility per stream in /admin. |
| 33 | |
Lines can be cited as README.md L120-L140, platform code 2026.09.17-a2894de; add #L120-L140 to this page's address to highlight them. Source shown for scrutiny of the research platform. All rights reserved. Not offered as installable software.