Deployment in de µRadiant uses
npm to execute scripts, which means it needs to be installed for the deployment to work.
The expansion page of a project can have support to deploy your application.
This is based on a
package.json script, which is checked into the repository and provides the scripts to start and stop your application.
Docker deployment with nsInit
New applications created with nsInit v3.14.0+ have the option to create scripts to deploy the application to a docker container.
scripts to generate them.
package.json file will be generated to execute the scripts.
Custom deployment scripts
You can set up deployment scripts yourself by creating a
package.json containing scripts for
stop and optionally,
"my-local-deployment:update-ear": "...script to copy ear to deploy directory...",
"my-local-deployment:start": "...script to start application...",
"my-local-deployment:stop": "...script to stop application..."