@mktco/mktco
v0.1.5
Published
Operator CLI, deployment docs, and host templates for the mktco stack
Readme
@mktco/mktco
Operator package for the mktco stack.
Owns
mktco initmktco doctormktco rendermktco installmktco uninstallmktco status- deployment and release docs
- env/systemd/nginx templates
Core rule
mktco install is file-only.
It writes release directories, symlinks, env files, systemd units, nginx vhosts, and install.json, but it does not start or reload services.
It now also refuses to proceed when doctor checks fail, unless explicitly overridden.
Typical flow
npm i -g @mktco/mktco
mktco init
# replace placeholder Gitea values in ~/.config/mktco/config.json
mktco doctor
mktco install --dry-run
mktco install
mktco statusImportant defaults
- default config path:
~/.config/mktco/config.json mktco initnow defaults to mandatory Gitea-first runtime settings with placeholder Gitea values that must be replaced before startup- release root:
/opt/mktco/releases - stable symlinks:
/opt/mktco/gateway,/opt/mktco/portal - env dir:
/etc/mktco - workspaces:
/srv/mktco/workspaces - live checkouts:
/srv/mktco/live-checkouts - gateway sessions:
/var/lib/mktco/gateway/sessions - portal data:
/var/lib/mktco/portal
Key directories
src/— CLI behaviortemplates/— rendered deployment assetsdocs/— operator docs
Package docs
docs/installer-cli.md— command surface and current boundariesdocs/deployment.md— fresh-host install and activation flowdocs/release.md— upgrades, smoke checks, and rollback notes
