clqms-be/.serena/memories/clqms01-be/suggested_commands.md

1.1 KiB
Raw Blame History

Essential commands for CLQMS development (run from repo root on Windows PowerShell):

composer install install PHP dependencies before running CodeIgniter or tests. • npm install sync package-lock.json for tooling such as API docs bundler. • ./vendor/bin/phpunit run entire PHPUnit suite (or target files via --filter). • php spark test --filter <Class>::<method> focused test run when you know the class/method. • php spark migrate / php spark migrate:rollback apply or roll back database migrations. • php spark serve lightweight dev server for the API while developing locally. • node public/bundle-api-docs.js regenerate bundled OpenAPI docs whenever the YAML files change. • git status, git diff, git log --oneline, git add <paths>, git commit, git pull, git push version control workflow commands. • ls / dir / Get-ChildItem inspect directories in PowerShell; cd to move between directories. • type <file> or Get-Content view file contents when tools are not convenient.

Use these commands routinely after code changes, tests, or migrations.