π How We Created This Website From Nothing ππ
This is the step-by-step build log for launching my personal website: from creating the GitHub repo π, to building the Astro site β‘, to configuring Cloudflare Pages βοΈ, fixing deployment issues π§―, and publishing a public hacker-themed site π.
π§ Architecture we chose
π GitHub Repository
β
β‘ Astro Static Website
β
βοΈ Cloudflare Pages
β
π Public global websiteπ Step-by-step launch process
π¨ Commands and settings used
npm installnpm run devnpm run buildnpm run previewnpm run builddist/βοΈ Final Cloudflare Pages settings
Framework preset: Astro Build command: npm run build Build output directory: dist Root directory: /
π§― Problems we had to fix
β Wrong Cloudflare flow
We initially ended up in a Workers-style deployment flow. That introduced Wrangler deploy commands and API token confusion. The fix was to create a real Pages project through Pages β Connect to Git.
β Bad build command
The build command field accidentally contained the full instruction block instead of only npm run build. Cloudflare tried to execute text like βFramework preset: Astroβ as a shell command. The fix was to make the build command exactly npm run build.
β Missing app files
The repo initially did not have enough Astro files to build a website. We added package.json, astro.config.mjs, and src/pages/index.astro.
π¨ What we added after launch
After the first successful deploy, we upgraded the site into a cyberpunk hacker-style platform with a neon terminal UI π», matrix background π§οΈ, security branding π, a 3D printing section for the Bambu P2S π§΅, and an AI Agents command cheatsheet π€.
π Lessons learned
Keep the first deployment simple π§Ό. Static-first sites are easier to debug, easier to secure, and perfect for a personal technical platform. Once deployment works, then layer on design, blog routing, maker sections, and AI workflow documentation.