Node.js on TIBCO Cloud? Integration
- Getting started
- Prerequisites
- My first Node.js app
- Deploy your first Node.js app
- Test your Node.js app
- Manage your Node.js apps
- Adding dependencies to your app
- Run your app locally
- Understanding the generated code
- Advanced topics
- Best practices
- Resources
Now that the app is complete, let?s deploy it to TIBCO Cloud? Integration. In this section we?ll upload the code through the Web UI. In the advanced section we?ll show you how to do it using the tibcli
executable
Zip it!
To upload your app you?ll first need to create a zip file containing all the code, except for the node_modules
folder. You can simply zip the folder that contains the server.js
file (hello_world_nodejs_app_1501395218703 in our case). If you?re comfortable with PowerShell you can also execute this command from that folder that will create the zip excluding the node_modules
directory tree.
Get-ChildItem . | where { $_.Name -notin "node_modules"} | Compress-Archive -DestinationPath ./app.zip -Force | Out-Null
Note: the other file we?ll need to upload is the manifest.json file
Deploy
In order to deploy, first login to TIBCO Cloud Integration and From the Apps page use the orange button to Create a new app (If you need help creating an app, check out the documentation).
From there select the Push a Node.js App option and simply upload both the manifest.json and zip file you created.
You?ll now see the progress of the app as it is being uploaded, built, and deployed.
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now