Developer Quickstart
Developer Quickstart
Verified against dev-next. Prefer repository scripts and CI setup if this page and the README diverge.
What you need
Rocky Linux 9 or RHEL 9 environment, or an existing NMS Prime install to overlay with git
PHP 8.3, Composer, Node.js, npm
PostgreSQL for the primary application database
Access to the NMS Prime source repository
Recommended setup path
Operator or full-stack base install
Install the Rocky 9 / RHEL 9 stack and NMS Prime packages first so system dependencies are present. Public install guidance lives under Installation.
Developer git overlay
After the package-based dependencies are present, replace the installed application tree with a git checkout under /var/www/nmsprime. The README developer section and scripts/install-from-git.sh document the current bootstrap path used by CI.
Typical post-checkout commands
cd /var/www/nmsprime
composer install
npm install
php artisan migrate
php artisan module:migrate --all
php artisan module:publish --all
npm run dev
php artisan optimize
Do not rely on older wiki or README mentions of php artisan module:v6:migrate as the current primary path. Prefer module:migrate --all as used by install and upgrade hooks.
Configuration model
Runtime configuration lives in
/etc/nmsprime/env/*.envDo not hardcode site-specific values into
config/*.phpfor an installationFrontend Mix builds expect
ENV_FILE=/etc/nmsprime/env/global.envAdmin UI commonly runs on port
8080
Day-to-day commands
Task | Command |
|---|---|
Run tests |
|
Prepare / repair local test databases |
|
Format changed PHP |
|
Build frontend assets |
|
List modules |
|