Visit Cyberismo solution for an overview and Cyberismo documentation for instructions and tutorials.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation.
The use of Cyberismo trademark is governed by the Cyberismo open source trademark policy. See separate file TRADEMARK.adoc.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See separate file LICENSE for more information.
Notice that while Cyberismo Ltd enforces the license of this software, the license does not affect the content produced by Cyberismo tool users. Users can be confident that the resulting documents and resources produced with Cyberismo tools and software are not affected by the licenses that Cyberismo Ltd uses to distribute the software.
The easiest way to set up a development environment is using a Dev Container. It installs all system dependencies automatically.
-
One of:
-
VS Code with the Dev Containers extension
-
JetBrains IDE with Dev Containers support
-
devcontainer CLI (
npm install -g @devcontainers/cli)
-
-
Clone the repository
-
Open the folder in VS Code
-
When prompted, click Reopen in Container (or run Dev Containers: Reopen in Container from the command palette)
-
Wait for the container to build and the post-create script to finish
-
Run
pnpm devto start the development servers
The dev container automatically installs all system dependencies (Ruby, C++ build tools, CMake), Node.js 22, pnpm, and project dependencies.
If you prefer not to use a Dev Container, install the following system dependencies first.
Linux (Ubuntu/Debian)
sudo apt-get update
sudo apt-get install -y build-essential cmake python3 ruby-full
sudo gem install --no-document asciidoctor-pdf rougeLinux (Fedora)
sudo dnf install gcc-c++ make cmake python3 ruby rubygems
sudo gem install --no-document asciidoctor-pdf rougemacOS
xcode-select --install
brew install cmake python ruby
gem install --no-document asciidoctor-pdf rougeWindows
Install Node.js with the "Tools for Native Modules" option, which brings the MSVC toolchain and Python, and install CMake.
The C++ toolchain, CMake, Make and Python are used to build the bundled Clingo answer set programming runtime from source during pnpm install.
Ruby and the asciidoctor-pdf gem are only needed for PDF export.
Install Node.js 22 LTS, then enable pnpm via corepack, which picks up the pnpm version pinned in package.json:
corepack enableCorepack installs the pnpm command next to the Node.js binary, so prefix the command with sudo if Node.js is installed system-wide.
Clone the repository with its submodules. @cyberismo/node-clingo builds its native addon from the clingo and BS_thread_pool submodules, so they have to be in place before pnpm install:
git clone --recurse-submodules https://github.com/CyberismoCom/cyberismo.git
cd cyberismoIn an existing clone, initialize them with:
git submodule update --init --recursiveThen install and build:
pnpm install
pnpm buildCopy env.example files to respective .env files:
cp tools/backend/env.example tools/backend/.envThe app tests include Playwright end-to-end tests, so install the browsers once:
pnpm --filter=app exec playwright install --with-deps
pnpm testOptional extras, such as the Mermaid CLI for rendering diagrams in PDF exports, are described in the CLI package readme.
pnpm devBackend is accessible at http://localhost:3000
Frontend is accessible at http://localhost:5173