Skip to content

Deploy apexstem.org — Cloudflare Pages

Output: Astro → sites/apexstem/dist/
Domain: apexstem.org (public — no Cloudflare Access)
Related: docs deploy · site design


  1. Cloudflare dashboardWorkers & PagesCreatePagesConnect to Git.
  2. Authorize GitHub → select repo rexnfx79/STEMRacing.
  3. Project name: apexstem-org
  4. Production branch: main (or master)

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
  1. Save and Deploy — wait for first build green.
  2. Custom domainsSet up a custom domainapexstem.org (and www.apexstem.org if desired).
  3. 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 (form b5Dgq1 in ContactFormEmbed.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