Skip to content

AFRUITPIE/Hayden-Hong-Website

Repository files navigation

Hayden Hong's Website ✨

https://haydenhong.com/

Hayden Hong's website, built using Nextra and hosted on Vercel.

Dev Environment Setup ⌨️

Note

This repo uses Bun, but all bun commands below should be interchangeable with npm.

Containerized Dev Environment 📦

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.

Installation 🚚

Install the npm dependencies (if you're not using a containerized environment):

npm install

Local Development 🧑‍💻

This command starts a local development server and opens up a browser window:

bun run start

Build 🛠️

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.