Skip to content

ntop/cockpit-ntop

Repository files navigation

Cockpit-based nBox UI

Alt text

Prerequisites

  • cockpit
apt install cockpit
  • cockpit-navigator file manager (optional)
apt install cockpit-navigator
  • npm (development only)
apt install npm

Development

This section is relevant only if you plan to contribute to nBox UI development.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev -- --host

Compile and Minify

npm run build

Compile and Install in Cockpit

sudo make build-install

Install (pre-compiled dist) in Cockpit

sudo make install