This repo contains the source code and documentation powering https://hello.dev/.
- Git
- Node (~18), npm (~9)
- A fork of the repo (for any contributions)
- A clone of the hello.dev repo on your local machine
cd hello.devto go into the project rootnpm ito install the npm dependencies
npm run devto start the hot-reloading development server (powered by Vite)open http://localhost:8080to open the site in your favorite browser
npm run testwill check all the links
www.hello.dev is served from Cloudflare Workers as static assets (see wrangler.toml).
npm run buildwrites the site todist/(Next static export, then Pagefind index, sitemap, and markdown/llms.txt generation).- Merging a PR into
mainrequires the Ready for merge check (build + link check) and the Cloudflare Workers preview build to pass. - Cloudflare Workers Builds watches
mainand deploys on merge. Nothing deploys from GitHub Actions. public/_headerssets the CSP;public/_redirectsholds path redirects. Both are copied intodist/by the build.npm run deploydeploys by hand with your own Cloudflare login. Normally unnecessary.