Built with Astro and deployed on GitHub Pages.
pnpm install
pnpm devpnpm build
pnpm previewA static map explorer for Epoch's open datasets (ForTy, TMF, JRC forest cover, drivers, surface water and more), read straight from source.coop in the browser. Code is in src/explorer/, the page is src/pages/explorer.astro.
pnpm dev, then open/me/explorer/.pnpm build:indexesrebuilds the item indexes inpublic/explorer/index/(which dataset files cover which area). The ForTy index is built from the published v2 beta STAC items (v2_beta/items.parquet, filtered to 2025 using the row groups'yearstatistics; ids areforty:cell/forty:tile_id); all ForTy years and v1 share that tile grid.pnpm testruns the unit tests (vitest, node,src/**).pnpm test:e2eruns the Playwright smoke tests ine2e/against a fresh build served byastro preview. It needs network access (it reads live source.coop data) and the Chromium browser (pnpm exec playwright install chromium). SetE2E_PORTif port 4321 is taken.
This site deploys automatically to GitHub Pages when you push to main.
- Go to your repo Settings → Pages
- Under "Build and deployment", set Source to GitHub Actions
- Update
astro.config.mjswith your GitHub username:site: 'https://YOUR_USERNAME.github.io', base: '/me',
- Push to
main— the workflow will build and deploy automatically
Your site will be live at https://YOUR_USERNAME.github.io/me/