Hayden Hong's website, built using Nextra and hosted on Vercel.
Note
This repo uses Bun, but all bun
commands below should be interchangeable with npm
.
Note
This repo is integrated with Dev Containers and GitHub Codespaces, so you can containerize and reliably reproduce this environment. Neat!
If you prefer to manage your own environment (ideally with something like asdf), the only dependency is NodeJS version 16 or higher.
Install the npm dependencies (if you're not using a containerized environment):
npm install
This command starts a local development server and opens up a browser window:
bun run start
This command creates a Production-Ready™ build:
bun run build
I have this configured in Vercel for hosting my personal website. The same command works with most other popular static hosting solutions.