KDCube Apps bootstrap CLI
Project description
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.svgkdcube_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/, andlogs/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.confnginx_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)
- Run the wizard and choose a workdir (example:
/srv/kdcube-local). - 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
- 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 is80)
Dev‑host usage (run services on host)
You can still use the CLI to bootstrap a workdir and then run services locally:
- Run the wizard and choose a workdir.
- Point your IDE/run configs to the generated env files in
workdir/config. - The CLI also writes a dev UI config to:
app/ai-app/ui/chat-web-app/public/private/config.hardcoded.json
- Start local infra via
deployment/docker/local-infra-stackif 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kdcube_cli-2026.3.6.211.tar.gz.
File metadata
- Download URL: kdcube_cli-2026.3.6.211.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68f3790d9c5a9050bfab79530c9c3c618f2fd872486f5b100cdf6d9dba806749
|
|
| MD5 |
b7a62f2993fc18a4980ca276124a5d2c
|
|
| BLAKE2b-256 |
97c68c020422d3f2f1d286ac0a322b19d209976ff72fbc4e8865186063704bd0
|
File details
Details for the file kdcube_cli-2026.3.6.211-py3-none-any.whl.
File metadata
- Download URL: kdcube_cli-2026.3.6.211-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f83b906db6ea97e6aa3e5f4a6d216932599fc4b4ba6994c395ffbebb7affb53
|
|
| MD5 |
ac1a3d9167aef7ba0055ade8cc5f5038
|
|
| BLAKE2b-256 |
05c3b9ab29bdd1bca11be8bda60c6c025f6a0040293c5b9b8d41f6c92bbe9c82
|