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 build target. 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.
- The app for which an app executable needs to be created must have a trigger and a flow in it. If the app does not have a trigger and flow, the app executable is not created.
- Read through the Considerations.
- Procedure
- Open the Apps page.
- Click the app for which you want to build an app executable. The page for the selected app opens.
- On the page that opens, click Validate and resolve errors, if any.
- 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 the Macintosh).
Note: If you have created or pushed an app using the 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. -
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
- Procedure
- Open a terminal.
- Run:
- Run:
chmod +x <app-file-name>
./<app-file-name>
On Microsoft Windows
At the command prompt, run:
<app-file-name>.exe