stackabletech / stackable-cockpit

Home of stackable-cockpit, stackablectl and stackable-cockpitd
https://docs.stackable.tech/management/stable/
Other
6 stars 2 forks source link
cli daemon kubernetes rust solidjs typescript vitejs

Stackable Logo

Stackable Cockpit

PRs Welcome Apache License 2.0

Stackable Data Platform | Platform Docs | Discussions | Discord

This repository contains the Stackable library stackable-cockpit, the Stackable CLI tool stackablectl, the Stackable Cockpit server stackable-cockpitd, and the web-based admin user interface.

Components

Developer Setup

Prerequisites

Getting started

git clone git@github.com:stackabletech/stackable-cockpit.git
cd stackable-cockpit

The admin UI is registered as a crate and is part of the build process, as the HTML/CSS/JS bundle is included in the final stackable-cockpitd binary. To get the build process running, first execute yarn install to install all required NodeJS dependencies in the node_modules folder.


Each component can be build separately like this:

cargo build --release -p stackablectl                     # Builds stackablectl
cargo build --release -p stackable-cockpitd               # Builds the Stackable Cockpit API server
cargo build --release -p stackable-cockpitd --features ui # Builds the Stackable Cockpit API server bundled with the admin UI
cd web && yarn run build && cd -                          # Builds the admin UI

Pre-commit hooks and xtasks

This repository uses multiple pre-commit hooks to run checks, formatting and code-generation on different files. The hooks are: