Skip to content

Mock Command ​

Develop without a Qelos tenant. See the full guide: Develop locally without a Qelos tenant.

qelos mock init [dir] ​

Scaffolds a mock folder (default ./qelos-mock): personas.json (admin, member, guest), workspaces.json, an empty state/, a .gitignore and a README.

OptionDescription
--pullAlso run qelos pull all <dir> (needs a tenant).
--dumpAlso dump users, workspaces and blueprint entities into <dir> (needs a tenant).
--forceOverwrite existing scaffold files.

qelos mock serve [dir] ​

Runs the @qelos/dev-mock server for the folder (install it with npm i -D @qelos/dev-mock).

OptionDescription
--port, -pPort (default: a free port).
--hostHost to bind (default 127.0.0.1).
bash
qelos mock init
QELOS_MOCK=./qelos-mock npm run dev

Build SaaS Products Without Limits.