Run a single command to prepare config, install stack files, start Docker services, and run a health probe:
bash one-click-deploy-config-installer-starter.sh --domain example.local --mode project --app-dir ./zlinebot-automos-stackProduction host example:
sudo bash one-click-deploy-config-installer-starter.sh --mode system --domain example.com --cert-email ops@example.com --install-depsA production-oriented CRM + LINE automation stack with:
- FastAPI API (
backend/api) - Kafka worker (
backend/worker) - React frontend (
frontend) - Postgres + Redis + Kafka + NGINX orchestration via Docker Compose
frontend/ React CRM dashboard
backend/api/ FastAPI tenant-aware CRM API
backend/worker/ Kafka-based broadcast delivery worker
backend/db/init.sql Database bootstrap
infra/ NGINX, certs, cloudflared, monitoring helpers
installer/ Full installer and stack preparation logic
scripts/ Build/deploy/start operational scripts
k8s/ Kubernetes manifests
sudo bash zeaz_ai_full_stack_installer.sh --domain example.com --cert-email ops@example.comThis prepares runtime dependencies, generates secrets and env files, provisions TLS assets, and readies the stack in /opt/zLineBot-automos.
bash ubuntu_stack_installer.sh --domain example.local --skip-deps --app-dir ./zlinebot-automos-stackIn project mode, dependency installation is skipped by design. Install Docker tooling separately.
Use the workflow manager to inspect overlapping stack responsibilities and run scripts in a safe priority order:
bash stack-workflow-manager.sh --planRun the ordered workflow:
bash stack-workflow-manager.sh --run --yesRun with audit logging to file:
bash stack-workflow-manager.sh --plan --log-file ./logs/stack-audit.logShortcut (master installer wrapper):
bash master_installer.sh --yesWebUI control panel (Flask + log viewer with live streaming):
cd tools/control_panel
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python app.pyThen open http://localhost:5000 to run allow-listed scripts and inspect log files under logs/control-panel/.
Default priority:
ubuntu_stack_installer.shinstall_full_stack.shzeaz_ai_full_stack_installer.shstart-zLineBot-automos.shone-click-deploy-config-installer-starter.sh
Generate enterprise env secrets, spin up core services (PostgreSQL/Redis/Kafka/API/Worker), and export Kubernetes templates:
bash codex.shOptional flags:
--skip-docker(only generate env + Kubernetes manifests)--clone <repo-url>(clone an external source snapshot before setup)
Output artifacts:
.env.enterprisek8s/generated/api.yamlk8s/generated/worker.yamlk8s/generated/hpa.yamlk8s/generated/postgres.yamlk8s/generated/redis.yaml
Installer-generated files:
.envbackend/api/api.envbackend/worker/worker.envinfra/certs/fullchain.peminfra/certs/privkey.pem
Before production launch:
- Replace placeholder values (for example
OPENAI_API_KEY). - Rotate generated secrets if required by your policy.
- Verify DNS points to your host (
app.<domain>,api.<domain>).
bash scripts/run-stack.sh upbash scripts/deploy-images.sh --registry ghcr.io/your-org/zlinebot-automos --tag v1.0.0Optional flags:
--skip-push--skip-apply
bash scripts/run-stack.sh up
bash scripts/run-stack.sh ps
bash scripts/run-stack.sh logs api
bash scripts/run-stack.sh restart
bash scripts/run-stack.sh downFor systemd-driven lifecycle on installed servers:
sudo bash start-zLineBot-automos.sh install --domain example.com --cert-email ops@example.com
sudo bash start-zLineBot-automos.sh status
sudo bash start-zLineBot-automos.sh logs- Stack health:
https://api.<domain>/api/health - API auth:
POST /api/register,POST /api/login - Leads:
GET /api/leads,PATCH /api/leads/{lead_id} - Campaigns:
POST /api/broadcast,GET /api/campaigns - LINE webhook:
POST /webhook/{tenant_id}
For the isolated enterprise scaffold (AI + Redis memory + trading modules), run:
bash scripts/zlinebot_autonomos.shDocumentation: docs/autonomos-enterprise-upgrade.md
- Marked the top-level operator guide as reviewed during the deep-scan documentation pass.
- Audit scope: repository-wide markdown and operational-documentation verification pass.