STAXIS

staxis js platform -> gitlab project
staxis on gitlab gitlab project 🏷️ V-0.X-Beta
We’re actively updating this manual. Content and layout may change as we refine it.

The Manager Script

The Manager groups the command-line scripts used to manage a Staxis project.

It provides guided commands for updates, backups, and pack management.

Start it from the project directory with node project manager.

At the first command prompt, enter help to see the available commands:

                β–Έ MAIN HELPER:

                -> Section usage:
                ->
                -> version        show the current staxis core version
                -> run-system     run the main staxis core engine
                -> update-system  update the core to the latest version
                -> backup         generate a backup zip of the project
                -> unroll         install packs from a local installer profile
                -> install        install one pack
                -> uninstall      remove one pack
                -> init           initialize a local pack
                -> list           check packs in the records list
                -> export         export one pack to a local model folder
                -> import         import one pack from a local model folder
                -> record         save pack metadata in online official records

                -> Global commands:
                ->
                -> help           show section help
                -> exit           close the program
                -> clear          clear the screen
                -> back           go back to the main menu

                β–Έ Waiting for a main command:
            

Use help, exit, clear, back to navigate the command menus.

Each command prompts for the information needed to complete its operation.

This page covers version reports, launch, Core updates, and backups. Pack commands such as unroll, install, uninstall, init, list, export, import, and record are covered in Manage the Stack.

logme is also available to create or reuse your GitLab access profile. The import command appears in the help output but is currently unavailable. The record command submits a proposal for inclusion in a pack catalogue.


version command

Opens the version viewer. Choose REDAT to generate a report showing the installed Core version and the versions declared in local pack manifests. It also attempts to read the latest published Core version from GitLab using a previously saved access profile. The online version appears as -- when the profile is missing or the remote information cannot be read.

This is a read-only report. The viewer's UPDATE action is currently unavailable. Use update-system to update the Core.

run-system command

Asks for confirmation, then launches node project start as a detached process in the current project directory. The child process inherits the environment and can continue after the Manager closes. Its console output is disconnected from the Manager.

To follow startup messages and errors in your terminal, run node project start directly. The Manager's launch message confirms that it requested the process to start. Check the application's logs or service endpoint to confirm that startup completed.

update-system command

Updates the Core from the official Staxis repository. You need a GitLab account with approved access to that repository and an authenticated Staxis access profile. Request membership in the Staxis GitLab group if you do not yet have access.

Enter logme in the Manager to authorize access through GitLab's browser flow. The updater can also request authorization when needed. New interactive authorization is disabled in production mode and when engineopt.gitlab.asktologin is false. A previously saved valid profile can be reused. Repository permissions must allow the download.

The Git-assisted flow offers LATEST to download the main branch or VERSION to download a specific tag. LATEST follows the branch's current contents. Select a release tag when you need a particular published version. Both this flow and the HTTP archive fallback require authorized GitLab access.

When the project is a Git working tree, the updater stops if it finds local changes or cannot verify the tree. It checks again before copying the update. It saves the configuration temporarily, applies the Core files, synchronizes the Core version, and merges the configuration. It excludes the configured packs, logs, temporary files, and execution-helper directories from the overlay.

Make a recoverable project backup before updating. Review configuration changes and verify the application afterwards. This command updates the Core; pack installation is managed separately.

backup command

Asks for confirmation, stages the included project files, and creates a timestamped .zip or .tar.gz archive in the project root, using an archiver available on the host. The temporary staging directory is removed afterwards.

The archive follows the backup script's exclusions. These include .git, node_modules, package.json, the Core implementation, logs, and temporary files, including the local system-core/.security profile. Retain that profile separately when preparing a restore. Plan to retain or reinstall the matching Core and dependencies when restoring an application.

Root files such as .keys and .hmac can be included, so protect the archive as secret-bearing project data. On Windows, check the resulting archive for dotfiles before relying on it, because the PowerShell and tar archivers handle hidden files differently.