Updated on 2023-11-28 GMT+08:00

Deploying a Node.js Application

Deploy a Node.js web service on the host and start the service.

Node.js has been installed on the target host. Remove the Install Node.js action from the template.

The related deployment actions are as follows:

  1. Install Node.js.
  2. Download the software package.
  3. Stop Node.js.
  4. Start Node.js.
  5. Test services.

Table 1 describes the parameters to be set in the template.

Table 1 Template parameters

Parameter

Description

host_group

Target environment where the application is deployed.

package_url

Path of the application release package in Artifact.

service_port

Application port.