Skip to main content

KDCube Apps bootstrap CLI

Project description

KDCube CLI

KDCube CLI

Bootstrap installer for the KDCube platform stack. This package clones the repository (if needed) and launches the guided setup wizard.

CLI source: services/kdcube-ai-app/kdcube_ai_app/ops/cli Packaged assets:

  • kdcube_cli/assets/pixel-cubes.svg
  • kdcube_cli/assets/pixel-cubes.png

Prerequisites

macOS

  • Python 3.9+ (Homebrew recommended)
  • Git (Xcode Command Line Tools or Homebrew)
  • Docker Desktop (includes Docker Compose)

Windows

  • Python 3.9+
  • Git for Windows
  • Docker Desktop (enable WSL2 backend)

Linux

  • Python 3.9+
  • Git
  • Docker Engine + Docker Compose plugin

Install

pipx install kdcube-cli

Alternative (pip):

python -m pip install --user kdcube-cli

Run

kdcube-setup

Tip: if kdcube-setup is not on your PATH, run:

python -m kdcube_cli.cli

What the wizard does

  • Creates a workdir with config/, data/, and logs/ folders
  • Writes the compose env files into config/ (only if missing; it won’t overwrite existing files)
  • Copies nginx configs into config/ for runtime overrides:
    • nginx_ui.conf
    • nginx_proxy.conf
  • Generates frontend runtime config
  • Creates local data folders for Postgres/Redis/exec workspace/bundle storage
  • Optionally builds images and runs docker compose up -d --build

Compose usage (recommended)

  1. Run the wizard and choose a workdir (example: /srv/kdcube-local).
  2. It will generate:
    • /srv/kdcube-local/config/.env
    • /srv/kdcube-local/config/.env.ingress
    • /srv/kdcube-local/config/.env.proc
    • /srv/kdcube-local/config/.env.metrics
    • /srv/kdcube-local/config/.env.postgres.setup
    • /srv/kdcube-local/config/.env.proxylogin
    • /srv/kdcube-local/config/frontend.config.hardcoded.json
    • /srv/kdcube-local/config/nginx_ui.conf
    • /srv/kdcube-local/config/nginx_proxy.conf
  3. Start compose from deployment/docker/all_in_one_kdcube:
docker compose --env-file /srv/kdcube-local/config/.env up -d --build

Open the UI:

  • http://localhost:${KDCUBE_UI_PORT}/chatbot/chat (via proxy, omit :${KDCUBE_UI_PORT} if it is 80)

Dev‑host usage (run services on host)

You can still use the CLI to bootstrap a workdir and then run services locally:

  1. Run the wizard and choose a workdir.
  2. Point your IDE/run configs to the generated env files in workdir/config.
  3. The CLI also writes a dev UI config to:
    • app/ai-app/ui/chat-web-app/public/private/config.hardcoded.json
  4. Start local infra via deployment/docker/local-infra-stack if needed.

Tip: you can edit workdir/config/nginx_ui.conf and workdir/config/nginx_proxy.conf without rebuilding images (they are mounted into the containers at runtime).

See app/ai-app/docs/service/environment/setup-dev-env-README.md for the full dev‑host flow.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kdcube_cli-2026.3.6.314.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kdcube_cli-2026.3.6.314-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file kdcube_cli-2026.3.6.314.tar.gz.

File metadata

  • Download URL: kdcube_cli-2026.3.6.314.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for kdcube_cli-2026.3.6.314.tar.gz
Algorithm Hash digest
SHA256 faa2e31c367ca6a4b0248848466596805663b8280c3ce3f3cbecfb152ed1dd91
MD5 0be460670344568bb7540a5823182dea
BLAKE2b-256 766db41cee189bd17d5479025c093173fb6daf641b20de8e8628dd76cd8c041a

See more details on using hashes here.

Provenance

The following attestation bundles were made for kdcube_cli-2026.3.6.314.tar.gz:

Publisher: release-kdcube-platform.yml on kdcube/kdcube-ai-app

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kdcube_cli-2026.3.6.314-py3-none-any.whl.

File metadata

File hashes

Hashes for kdcube_cli-2026.3.6.314-py3-none-any.whl
Algorithm Hash digest
SHA256 35398c87319a38e59089c779a791378b4a5c7bb9370bf0c1d146c119fcaad866
MD5 21dae7ea81cd35fce28ea86712fd2f40
BLAKE2b-256 70ae60588d7f0eebc136cf3c32f7fa3bf9417dddbadd8ae05c37bca85f3ea78d

See more details on using hashes here.

Provenance

The following attestation bundles were made for kdcube_cli-2026.3.6.314-py3-none-any.whl:

Publisher: release-kdcube-platform.yml on kdcube/kdcube-ai-app

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page