Running Locally

Bash
git clone https://github.com/alexcmgit/alexcmgit.github.io.git
cd alexcmgit.github.io
npm install
npm run dev

The dev server starts at http://localhost:8080 with live reload.

Building for production

Bash
NODE_ENV=production npm run build

Output goes to _site/. It's all static HTML โ€” deploy it anywhere.

Environment variables

The site needs a few secrets for full functionality:

Variable What it does
GITHUB_TOKEN Pulls blog posts from GitHub Discussions
CONTACT_FORMSPREE Formspree endpoint for the contact form
CONTACT_DISCORD_WEBHOOK Discord webhook for contact notifications
CONTACT_WEB3FORMS Web3Forms access key (alternative provider)

None of these are required for local dev โ€” the site builds fine without them, you just won't have blog posts or a working contact form.