Skip to content

Repository files navigation

openHAB Foundation Website

This repository contains the source code for the openHAB Foundation e.V. website, built with VitePress.

Prerequisites

Node.js (v20+ recommended) is required. Corepack can be used to manage pnpm.

Installation & Setup

Enable / Install pnpm

Enable pnpm using Node Corepack:

corepack enable
corepack prepare pnpm@latest --activate

Alternatively, install it globally via npm:

npm install -g pnpm

Install Dependencies

Install project dependencies:

pnpm install

Development

Format Code

Format the code with oxfmt:

pnpm run format

Development Server

Start the local development server with hot-reloading:

pnpm run dev

Open http://localhost:5173 (or the URL displayed in the terminal) in your browser.

Build for Production

Build the static site for production deployment:

pnpm run build

The compiled output will be located in .vitepress/dist.

Preview Production Build

Preview the built static site locally:

pnpm run preview

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

5 watching

Forks

Used by

Contributors

Languages