CLI commands

commandwhat it does
cms / cms runstart the server (default command)
cms create-admincreate an administrator (asks login + password)
cms passwdchange a user's password
cms reloadhot-reload settings.json and templates via ./cms.sock
cms installregister as a systemd service: writes /etc/systemd/system/cmsnap.service for the current binary and directory, enables and starts it (requires root; systemctl reload cmsnap maps to hot reload)
cms uninstallstop, disable and remove the systemd service (requires root)
cms def-helpfactory reset: recreate settings.json, hbs/, static/ and the databases, seed the docs, create admin with a generated password, start the server
-l, --loglog level, e.g. debug or cms=debug,ntex=warn

← All articles in this group