Developer docs/Platform reference
CLI
#pelty-server
PeltyCMS server binary.
Usage:
pelty-server [serve] run the HTTP server (runs migrations first)
pelty-server migrate run migrations and exit
pelty-server admin create <email> create an admin; password from
PELTY_ADMIN_PASSWORD or first line of stdin
pelty-server import whmcs --dsn mysql://user:pass@host/db [--dry-run]
import a WHMCS database (feature `whmcs-mysql`)
pelty-server import blesta|paymenter --file export.json [--dry-run]
import a Blesta / Paymenter JSON export#pelty-cli
`pelty-cli` — developer tooling for PeltyCMS addons.
pelty-cli addon scaffold <id> [--kind plugin] [--engine <engine>] [--name "My addon"] [--dir .]
pelty-cli addon wasm-scaffold <id> --kind K [--lang rust|c|tinygo] [--name N] [--dir D] [--sdk PATH]
pelty-cli addon hash <dir> # recompute the `files` sha256 map
pelty-cli addon validate <dir|zip> # structure, ids, paths, hashes
pelty-cli addon pack <dir> [-o out.zip]#make
| Target |
|---|
make help |
make dev |
make stop |
make backend |
make frontend |
make build |
make docs |
make addons |
make addon |
make test |
make lint |
make db-reset |
make seed |
make docker |
make clean |