Updated on 2024-07-04 GMT+08:00

Deploying a Vue Application

Deploy a Vue web service on the host and start the service.

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

The related deployment actions are shown in the following figure.

  1. Install Nginx.
  2. Download the software package.
  3. Decompress the software package.
  4. Start Nginx.
  5. Reload the Nginx configuration file.
  6. Test services.

The table below describes the parameters to be set in the template.

Table 1 Template parameters

Parameter

Description

host_group

Target environment where the application is deployed.

nginx_install_path

Nginx installation path.

service_port

Application port.

package_path

Download path for software packages.

package_name

Software package name (including the file name extension).

package_url

Software package download link. To obtain it, go to the Artifact > Release Repos page.