Updated on 2025-03-24 GMT+08:00

Installing a Project

With version management, you can download a project package in an environment A and install the project in another environment B.

Constraints

After a project is imported to environment B, if the environment does not contain a data source with the same name as the required source, the required data source is installed from the project package. The password for the new data source is not set. You can set the password in the data source. Alternatively, you can click the on the data tab page of the project page to set the password.

Installing a Project

  1. Access Huawei Cloud Astro Canvas in environment A. On the Projects page, hover the cursor over the project to be downloaded and click .
  2. In the Version Management area, click in the Operation column of the target version.

    Figure 1 Downloading the project package of the target version

  3. Select a running container and click Download.

    Figure 2 Selecting a running container
    • Running Container: used for project packages.
      • Astro Canvas: If Astro Canvas is selected, you can click Import Project Package in the project list of another Huawei Cloud Astro Canvas environment to migrate the project from environment A to environment B.
      • OneMobile: If OneMobile is selected, the project package downloaded using the running container can be installed and run on OneMobile. If you select this mode, you also need to set parameters such as App ID, Home Page, and Environment Type.
        Figure 3 OneMobile
    • App ID: app ID of the applet obtained from the applet management backend.
    • Home Page: default page displayed when the applet is opened. You can set a published page as the homepage.
    • Environment Type: type of the environment that carries application services.
      • Development: environment where you can develop and configure logical modular elements to create different sorts of applications.
      • Sandbox: environment where an application is tested and data is configured before publishing.
      • Production: real environment where applications are officially published and brought online. After the test is complete, the application is published to this environment (runtime environment) for business users to use.
      • Non: The system does not depend on any environment.
    • Domain name of Production/Sandbox environment: domain name of the service environment, for example, https://www.demo.com.
    • Tenant ID of Production/Sandbox environment: ID of the tenant who provides the service environment.

  4. Send the downloaded installation package to environment B.
  5. On the Huawei Cloud Astro Canvas page of environment B, click Import Project Package.
  6. Select the target installation package and install.

    When the installation is complete, a corresponding message is displayed. On an installed project, click the project icon to access the project.