Command reference
In the platform repository
Run from the repository root, with Bun 1.4.4.
| Command | Purpose |
|---|---|
bun install | Install dependencies |
bun run generate:tanstack -- -i <model> -o <dir> -n <name> | Generate an application (options) |
bun run eml | The model language command line: validate, info, sagas, generate |
bun run dev | Start the modelling tool on http://localhost:3000 |
bun run spec:check | Every gate the CEDM library is held to |
bun run parity | Generate with both generators and require identical backends |
bun run translate -- <model> -o <dir> | Translate a model in the earlier notation into CEDM |
bun run compiere:data -- --app <project> | Load Compiere's demonstration data into a generated Compiere application |
bun run test, bun run test:generator | Unit tests |
bun run type-check | TypeScript checks |
In a generated project
| Command | Where | Purpose |
|---|---|---|
cargo loco db migrate | backend/ | Apply migrations |
cargo loco db seed | backend/ | Apply the dictionary, workflows, access rules and administrator |
cargo loco start --server-and-worker | backend/ | Run the API and its background worker |
cargo loco task <name> | backend/ | Run one task, such as seed_dictionary |
LOCO_ENV=test cargo test --test app | backend/ | The Rust request suites |
bun run dev | frontend/ | The web front end in development |
bun run test | tests/ | The Bun API suites |
bun run qa | tests/ | Smoke-test every screen, then the Rust suites |
docker compose up | project root | Database, backend and front end together |
cargo loco is an alias the project defines in backend/.cargo/config.toml, so nothing needs
installing globally.