This guide explains how to set up the Hiero website locally on a Linux system.
Install Git, Node.js, and pnpm.
sudo apt update
sudo apt install git nodejs npm -y
sudo npm install -g pnpm
Clone the repository and navigate into it:
git clone https://github.com/hiero-ledger/hiero-website.git
cd hiero-website
Install required dependencies:
pnpm install
Start the Next.js development server with live reloading:
pnpm dev
Open your browser and visit:
http://localhost:3000/
To preview draft blog posts, just ensure the draft flag in your markdown front matter is respected by your application logic, and run:
pnpm dev
To generate a production-ready build:
pnpm build