Deploy apexstem.org — Cloudflare Pages¶
Output: Astro → sites/apexstem/dist/
Domain: apexstem.org (public — no Cloudflare Access)
Related: docs deploy · site design
Path A — Cloudflare dashboard (Git connect) — recommended first time¶
- Cloudflare dashboard → Workers & Pages → Create → Pages → Connect to Git.
- Authorize GitHub → select repo
rexnfx79/STEMRacing. - Project name:
apexstem-org - Production branch:
main(ormaster)
Build settings¶
| Setting | Value |
|---|---|
| Framework preset | Astro |
| Build command | npm ci && npm run build |
| Build output directory | dist |
| Root directory | sites/apexstem |
Environment variable (optional):
| Variable | Value |
|---|---|
NODE_VERSION |
22 |
- Save and Deploy — wait for first build green.
- Custom domains → Set up a custom domain →
apexstem.org(andwww.apexstem.orgif desired). - DNS records should appear automatically (proxied CNAME). Apex domain may use CNAME flattening.
After deploy¶
- Open
https://apexstem.org— home, About, Programs, Teams, Sponsor, Donate, Contact, Privacy should load. - If SSL pending, wait up to 15 minutes.
- Before public launch: treasurer sign-off on donate/sponsor copy, Zeffy embed on
/donate, contact form embed on/contact.
Path B — Local build + Wrangler (manual)¶
cd sites/apexstem
npm ci
npm run build
npx wrangler pages deploy dist --project-name=apexstem-org
Requires Cloudflare API token with Pages edit permission.
Local development¶
cd sites/apexstem
npm install
npm run dev
Preview production build:
npm run build && npm run preview
Pre-launch checklist¶
- [ ] Donate page: treasurer sign-off on copy; Zeffy embed when nonprofit bank is live (until then: coming soon)
- [ ] Contact page: Tally embed on
/contact(formb5Dgq1inContactFormEmbed.astro; configure email notifications in Tally) - [ ] Privacy policy: board review
- [ ] OG image / favicon (org logo when ready)
- [ ] Ridge Racers footer links to apexstem.org (see repo root
index.html) - [ ] Cross-link from design plan Phase 2a when build is green
Site map (MVP)¶
| Path | Page |
|---|---|
/ |
Home |
/about |
Mission, vision, values |
/programs |
Four pillars + program formats |
/teams |
Team listing |
/teams/ridge-racers-nj |
Flagship team |
/sponsor |
Tiers + inquiry |
/donate |
Coming soon + 501(c)(3) disclaimer; Zeffy when nonprofit bank is live |
/contact |
Emails + form placeholder |
/privacy |
Privacy policy draft |
Phase 2: /impact, /news, /get-involved