gui/pkg/display/docs/development.md
Virgil 7deb91ac0b
Some checks failed
Security Scan / security (push) Failing after 31s
Test / test (push) Successful in 1m14s
refactor(ax): standardise display and window contracts
2026-03-31 06:22:04 +00:00

873 B

Development Guide

This guide covers how to set up the development environment, build the project, and run the tests.

Prerequisites

  1. Go: Version 1.25 or later.
  2. Node.js & npm: For building the Angular frontend.
  3. Wails Dependencies:
    • Linux: libgtk-3-dev, libwebkit2gtk-4.1-dev
    • macOS/Windows: Standard development tools (Xcode Command Line Tools / build-essential).

Setup

  1. Clone the repository and enter the workspace.

  2. Install Go dependencies:

    go mod tidy
    
  3. Install Frontend dependencies:

    cd ui
    npm install
    cd ..
    

Building the Project

Frontend

cd ui
npm run build

Backend / Application

This package is exercised through Go tests and the host application that embeds it.

To run the tests:

go test ./pkg/display/...