Pushing an App with the TIBCO Cloud™ - Command Line Interface
To push a TIBCO BusinessWorks™ App, Flogo, or Node.js app:
- Before you begin, download and install the CLI, as shown in Downloading TIBCO Cloud™ Integration Tools and Installing the TIBCO Cloud™ - Command Line Interface.
-
Move your app archive and the
manifest.json
file into a temporary directory, and then change to that directory.- For TIBCO BusinessWorks apps, the app archive is an EAR archive. For Node.js apps, it is a ZIP archive. For Flogo apps, the app archive is a JSON file.
- For TIBCO BusinessWorks apps, the
manifest.json
file is optional, and is automatically generated if not specified. For Node.js, themanifest.json
file is required.
myApp.ear
in your home directory:mkdir tmp-app cd tmp-app cp ~/myApp.ear .
For Node.js apps, see Deploying a Node.js App for information on packaging your app.Note: Thetibcli
ortibcli.exe
executable should not be in the same directory as the app you are pushing. -
Log in with the TIBCO Cloud™ - Command Line Interface as shown in Logging In with the TIBCO Cloud™ - Command Line Interface. For example:
tibcli login
-
Push the app using the
tibcli app push
command. By default, this pushes one instance of the app. To start more instances, specify an instance count argument. For example, push the app in the current directory and start two instances:tibcli app push 2
Note: If there is an existing app with an identical name as the app that you are trying to push to the cloud, you are prompted for confirmation. To push and replace an existing app with no warning prompt, use the
--impose
option.Role Requirements
- An Admin can overwrite any app.
- Users can only overwrite an app they own.
- If there are multiple apps with the same name, a push is rejected. There could be apps with the same name due to migration of apps from when sandboxes were supported. For an Admin user, this applies to all apps in an organization; for a User this only applies to their apps.
Related Topics
TIBCO Cloud™ - Command Line Interface Reference
Open Network Ports for TIBCO Cloud™ Integration Apps
Downloading TIBCO Cloud™ Integration Tools