Back to portal

Get Started

How to run the BlackRoad web portal locally.

Getting Started

This guide will help you set up and run the BlackRoad web portal locally for development.

Prerequisites

Installation

Clone the repository and install dependencies:

git clone https://github.com/BlackRoad-OS/blackroad-os-web.git
cd blackroad-os-web
pnpm install

Running locally

Start the development server:

pnpm dev

Visit http://localhost:3000 to see the portal in your browser. The dev server supports hot reloading for instant feedback.

Configuration

Copy .env.example to .env.local and configure your environment variables:

SITE_URL=https://blackroad.io
PLAUSIBLE_DOMAIN=analytics.blackroad.io

Building for production

Create a static export:

pnpm build

The static site is emitted to .out/. Serve it locally with:

pnpm start

Testing

Run all tests (Vitest + Playwright):

pnpm test

Run TypeScript type checking:

pnpm typecheck

Next Steps