Skip to main content

CLI (panel)

The monorepo ships a bash dispatcher at scripts/panel.sh. It is typically symlinked as panel on PATH (see monorepo README).

In this page

Usage

sudo ln -sf "$(pwd)/scripts/panel.sh" /usr/local/bin/panel
sudo chmod +x /usr/local/bin/panel
panel

With no arguments, the script prints usage:

DeployDock CLI
Usage: panel <install|update|doctor|uninstall|backup-export|restore-import>

Subcommands

CommandDispatched script
panel installscripts/install/install.sh
panel updatescripts/update/update.sh
panel doctorscripts/doctor/doctor.sh
panel uninstallscripts/install/uninstall.sh
panel backup-exportscripts/backup/export.sh (optional path argument)
panel restore-importscripts/backup/restore.sh

Implementation status

  • install: Skeleton — creates user/dirs, checks Ubuntu, prints steps for Node, PostgreSQL, Redis, release copy, pnpm install, Prisma, systemd. Does not fully install packages unattended (see comments in scripts/install/install.sh).
  • update / doctor / uninstall: Minimal / skeleton — read the respective scripts for current behavior (doctor.sh echoes suggested checks).
  • Backup scripts: Functional wrappers around pg_dump / restore patterns; verify arguments in scripts/backup/*.sh before production use.

For day-to-day development, prefer pnpm dev and Prisma commands from the monorepo README rather than panel install.