Skip to main content

7. Deliver the application to the customer

Purpose

Learn from the documentation how Rainbond delivers applications to customers through the application market and subsequent upgrades in the actual production environment if it encounters a completely offline situation.

significance

It is a very common situation that the final environment delivered is completely offline.In this case, how to deliver software development products is a very realistic and difficult problem to solve.In response to this situation, Rainbond's offline delivery system can be used to deal with it.

Preconditions

Export application template

Published application templates can be directly exported into two forms of offline application packages, which can be delivered in a completely offline environment.

  • RainbondApp specification Offline application package, which can be used to import application templates in other Rainbond platforms. Once imported, it can be deployed from the application market.

  • DockerComposeApp Specification Offline application package, which can be deployed in an offline environment with Docker Compose, this package will contain the component base image and the corresponding docker-compose.yaml file.

  • Select to export version.
  • Click RainbondApp Specification in Export, after a period of time, the export will be automatically completed.
  • Click to downloadto download the offline application package.

Note that version 5.3 tweaks the exported app package specification and is therefore not backward compatible.Can only be imported into 5.3 and later platforms.

But the application package exported by the 5.2 version can be imported into the 5.3 platform.

Import application template

The exported application template exists as an offline application package.This package can be transferred to an offline production environment using other media (CD-ROM, removable hard disk, etc.).Next, we need to import this package into offline Rainbond.

  • Enter the application market page, click + ,to import the application template.
  • Upload offline application packages.

  • Select the application template and import it.

After the above operations, the application template is imported into Rainbond in the offline production environment.

Next, referring to the operation of deploying the application market, you can install the application template into the production environment.

Application template upgrade in offline environment

If you use the export application template function, and import the exported offline application package conforming to RainbondApp Specification into the offline Rainbond cluster.So how to apply the upgraded application template to the offline Rainbond cluster?

  • Export the new version of the application template, pay attention to specify the new version.
  • Import the exported application template into the offline Rainbond environment.

  • To upgrade an existing application, refer to Application Template Upgrade.