Building the App

After you have created your app, you can build it anytime. When you build the app, its deployable artifact gets created. You can download it to your local machine. Each operating system has its own build target. You must select the right target for your operating system when building the app. You can use the built artifact to run the app.

You can also use the TIBCO Cloud Integration API to build the app executable. For more information on the APIs, see TIBCO Cloud™ Integration API.

Note: Building an app executable in TIBCO® Cloud Integration always builds the app executable with the latest version of Flogo.
Before You BeginMake sure you have the following:
    Procedure
  1. Open the Apps page.
  2. Click the app for which you want to build an app executable. The page for the selected app opens.
  3. On the page that opens, click Validate and resolve errors, if any.
  4. Open the shortcut menu, click Build app, and select a build target option that is compatible with your operating system (such as Darwin/amd64 for Macintosh).
    Note: If you have created or pushed an app using tibcli or platform API, the Build App option is not displayed as the apps are read-only apps.
    The following build target options are available:
    • Macintosh: Darwin/amd64
    • 64-bit Linux: Linux/amd64
    • 32-bit Linux: Linux/x86
    • Microsoft Windows: Windows/amd64
    The app begins to build. When it is built, the deployable artifact is downloaded to your local machine.
  5. To confirm whether the app executable is built successfully, go to the History tab and check whether Action is displayed as APP BUILD.

Running the App

On Macintosh and Linux

  1. Open a terminal.
  2. Run:
  3. chmod +x <app-file-name>

  4. Run:
  5. ./<app-file-name>

On Microsoft Windows

At the command prompt, run: 

<app-file-name>.exe